Sha256: 4ccd65b156f7ead0b847aba9066673402a05bdc4ca433d0fde2f16a91b001f0a
Contents?: true
Size: 520 Bytes
Versions: 9
Compression:
Stored size: 520 Bytes
Contents
class CreateFaeImagesTable < ActiveRecord::Migration def change create_table(:fae_images) do |t| t.string :name t.string :asset t.references :imageable, polymorphic: true, index: true t.string :alt t.string :caption t.integer :position, default: 0 t.string :attached_as, index: true t.boolean :on_stage, default: true t.boolean :on_prod, default: false t.integer :file_size t.boolean :required, default: false t.timestamps end end end
Version data entries
9 entries across 9 versions & 1 rubygems