pollen_app/migrations/00220_create_download_contents.rb
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +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