Fix broken migrations #12

Closed
mikepmunroe opened this Issue Mar 22, 2013 · 1 comment

1 participant

@mikepmunroe
Owner

Migrations are currently broken because of the following bug that I hit upon, rails/rails#7954.

My initial migration to add a new boolean column, I set the type to :bool instead of :boolean.

To fix the issue, follow the steps here, http://stackoverflow.com/questions/8442147/how-to-delete-or-add-column-in-sqlite.

Blows my mind that sqlite does not support the modification of a column type or the deletion of a column after it has been added. Party all the time.

@mikepmunroe mikepmunroe was assigned Mar 22, 2013
@mikepmunroe
Owner

After trying to move to postgres, I ended up fixing sqlite.

@mikepmunroe mikepmunroe closed this Apr 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment