chien_app/db/migrate/0102_create_dynamic_contents.rb
Nicolas Bally a1bba5a836 initial
2015-04-16 23:54:52 +02:00

16 lines
253 B
Ruby

# -*- encoding : utf-8 -*-
class CreateDynamicContents < ActiveRecord::Migration
def self.up
create_table :dynamic_contents do |t|
t.string :name
t.timestamps
end
end
def self.down
drop_table :dynamic_contents
end
end