foreman/db/migrate/20120621135042_create_taxonomies.rb @ 611f5bff
class CreateTaxonomies < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :taxonomies do |t|
|
|
t.string :name
|
|
t.string :type
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :taxonomies
|
|
end
|
|
end
|