Skip to content

Fix broken migrations #12

mikepmunroe opened this Issue Mar 22, 2013 · 1 comment

1 participant


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,

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

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
Something went wrong with that request. Please try again.