thatcher_app/migrations/00220_create_download_contents.rb
2019-11-11 16:11:03 +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