Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1141] Migration partially applied

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2015-09-29T01:55:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Appcelerator CLI
Labelsmigration, model, sqlite
ReporterƁukasz Mendelowski
AssigneeShak Hossain


When I have a bunch of complicated migrations to apply it looks they are partially applied - my database structure has been updated but my model configs haven't. My model has incorrect columns in the config.columns field. So when I try to save a model with attributes (where keys represent the name of new columns in the database) the new fields are not saved. Because sqlite doesn't support dropping columns in tables so one of my migrations renamed original table, crate a new table with the original name, copied data from the old table and drop it. I think this migration can cause that issue.


  1. Radamantis Torres-Lechuga 2015-03-18

    [~lukasz.mendelowski] Can you please provide more information, test case, steps to reproduce the issue and detailed info on what the issue that you are experiencing?

JSON Source