Sha256: 7e9c4d664e2983432c5312195f371406d2fa537ab1ed2ad49d0092ec5e9a4907
Contents?: true
Size: 628 Bytes
Versions: 31
Compression:
Stored size: 628 Bytes
Contents
# This migration comes from brightcontent_attachments_engine (originally 20121222172513) class CreateAttachments < ActiveRecord::Migration def self.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.timestamps end add_index :brightcontent_attachments, :attachable_id add_index :brightcontent_attachments, :attachable_type end def self.down drop_table :brightcontent_attachments end end
Version data entries
31 entries across 31 versions & 1 rubygems