idn_app/db/migrate/20160216085031_create_realisations.rb
2016-07-29 20:23:40 +02:00

14 lines
309 B
Ruby
Executable File

class CreateRealisations < ActiveRecord::Migration
def change
create_table :realisations do |t|
t.string :title
t.text :description
t.string :slug
t.boolean :enabled
t.datetime :realised_at
t.integer :default_image_id
t.timestamps null: false
end
end
end