panier_app/migrations/00220_create_download_contents.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01:00

15 lines
397 B
Ruby

class CreateDownloadContents < ActiveRecord::Migration[6.0]
def change
create_table :download_contents do |t|
t.string :title
t.string :style
t.text :description
t.references :data_file, index: true
t.boolean :boutique, :default => false
t.boolean :show_yumpu, :default => false
t.timestamps
end
end
end