also_migrate
also_migrate copied to clipboard
Migrate multiple tables with similar schema at once
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)" Fixes #5
Hi guys, I've just modded this gem to work with those new Rails 3.1 migrations that can automagically invert themselves. All I've done is made the gem take over the...
Enables also_support to interop with Rails 3.x style migrations leveraging instance methods for up, down, and change.
The current extensions to the migration class do not support reversible migrations via the `change` method.
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)"
Hi Winton, I tried to use the indexes options to set a primary key, on a cloned table. But nothing append, I falled back and remove the option, and the...