lockaz_app/migrations/00220_create_download_contents.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +02: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