intra_app/db/migrate/20180121142453_create_time_contents.rb
Nicolas Bally 761e075bb6 initial
2018-11-08 21:47:30 +01: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