diff options
Diffstat (limited to 'db/migrate/20090314230516_create_references.rb')
-rw-r--r-- | db/migrate/20090314230516_create_references.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20090314230516_create_references.rb b/db/migrate/20090314230516_create_references.rb deleted file mode 100644 index c7fff76..0000000 --- a/db/migrate/20090314230516_create_references.rb +++ /dev/null @@ -1,18 +0,0 @@ -class CreateReferences < ActiveRecord::Migration - def self.up - create_table :references do |t| - t.integer :revision_id - t.text :title - t.text :url - t.string :type - t.timestamps - end - - add_index :references, :revision_id - end - - def self.down - remove_index :references, :revision_id - drop_table :references - end -end |