If you ever need to create a schema from inside a migration, write this:
def up execute "CREATE SCHEMA some_schema" end def down execute "DROP SCHEMA some_schema" end |
Migration code is available for download here: code
If you ever need to create a schema from inside a migration, write this:
def up execute "CREATE SCHEMA some_schema" end def down execute "DROP SCHEMA some_schema" end |
Migration code is available for download here: code