Sha256: afea96062d8fb9c3ea6e341152fd5b274eaafb8ddc094dbcb26df38d8e4d2a6b
Contents?: true
Size: 557 Bytes
Versions: 16
Compression:
Stored size: 557 Bytes
Contents
class CreateAttachments < ActiveRecord::Migration def up create_table :brightcontent_attachments do |t| t.integer :attachable_id t.string :attachable_type t.string :asset_file_name t.string :asset_content_type t.integer :asset_file_size t.datetime :asset_updated_at t.integer :position t.timestamps end add_index :brightcontent_attachments, :attachable_id add_index :brightcontent_attachments, :attachable_type end def down drop_table :brightcontent_attachments end end
Version data entries
16 entries across 16 versions & 1 rubygems