Displaying 1 result from an estimated 1 matches for "createinitialschema".
2006 May 25
5
rake migrate VERSION=0 doesn''t appear to execute
...e)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Execute migrate
but my tables aren''t dropped.
Here''s my migration:
class CreateInitialSchema < ActiveRecord::Migration
def self.up
...creates a bunch of tables
end
def self.down
drop_table :target_lists
drop_table :jobs
drop_table :stylesheets
drop_table :images
drop_table :documents
end
end
Does rake migrate VERSION=0 rollback the very FIRST migra...