Postgres 8.4 error on rake db:migrate
Opened this issue · 3 comments
dzaporozhets commented
For postgres 8.4 sql like this "CREATE TABLE archived_articles LIKE articles" is invalid.
This is correct one "CREATE TABLE archived_articles (LIKE articles)"
kavu commented
I have the same, but on Postgres 9.0.3.
AlsoMigrate error: PGError: ERROR: syntax error at or near "LIKE" LINE 2: LIKE users; ^ : CREATE TABLE archived_users LIKE users;
dzaporozhets commented
You can use my fork - https://github.com/randx/also_migrate
bardsley commented
Could you send a pull request to winton to resolve this. It's causing issues with connected gems like acts_as_archivable