Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Fix table updates on SQLite #12

Open
mcollina opened this issue Apr 29, 2011 · 1 comment
Open

Fix table updates on SQLite #12

mcollina opened this issue Apr 29, 2011 · 1 comment

Comments

@mcollina
Copy link

If i run a drop_column statement on sqlite I got the following error:

== Performing Down Migration #2: add_state_to_websites
ALTER TABLE "websites" DROP COLUMN "state"
rake aborted!
near "DROP": syntax error

@mgauthier-so
Copy link

I don't think that sqlite supports the DROP syntax...

See this example: http://www.sqlite.org/faq.html#q11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants