http://redmine.emweb.be/http://redmine.emweb.be/favicon.ico?16934085252015-09-28T08:23:42ZRedmineWt - Bug #4473: Wt::Dbo::Session::createTables may fail to create a table if another table already existshttp://redmine.emweb.be/issues/4473?journal_id=131192015-09-28T08:23:42ZKoen Deforchekoen@emweb.be
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Hey,</p>
<p>That's indeed the intended behavior. createTables() cannot handle migrations of an existing database. So as soon as it detects that it cannot simply create the whole schema it will rollback, assuming that the current schema is correct. Typically you need a migration script for migrating older versions of your database schema if you've made changes to it.</p>
<p>Koen</p>