This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/00220_create_download_contents.rb
2021-08-23 10:26:02 +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