transformeurs_app/db/migrate/20180121142453_create_time_contents.rb
Nicolas Bally 02906ed45e initial
2018-08-06 17:06:11 +02:00

13 lines
253 B
Ruby

class CreateTimeContents < ActiveRecord::Migration
def change
create_table :time_contents do |t|
t.string :date
t.integer :image_file_id
t.text :description
t.string :style
t.timestamps null: false
end
end
end