sadem_app/migrations/00270_create_gallery_contents.rb
Nicolas Bally 000500e534 init
2020-02-25 02:33:11 +01:00

14 lines
326 B
Ruby

class CreateGalleryContents < ActiveRecord::Migration[6.0]
def change
create_table :gallery_contents do |t|
t.string :name
t.text :description
t.integer :style
t.integer :nbr_img
t.boolean :with_legend, :default => false
t.timestamps
end
end
end