class CreateDataFiles < ActiveRecord::Migration[6.0]
  def change
    create_table :data_files do |t|
      t.string       :file
      t.string       :name
      t.string       :slug
      t.string       :token
      t.string       :description
      t.references   :file_folder,   index: true
      t.string       :title
      t.text         :long_desc
      t.boolean      :boutique,   :default => false
      t.references   :data_file_category,   index: true
      t.references   :image_file,   index: true
      t.text         :yumpu_content
      t.boolean      :show_yumpu,   :default => false
      t.references   :square_image_file,   index: true
      t.boolean      :order_link,   :default => false
      t.boolean      :download_link,   :default => false

      t.timestamps
    end
  end
end
