Sha256: da7563ba2fb79c706c37c934f9220aba895529ffcefe0241acbc1fb18f72beb8
Contents?: true
Size: 539 Bytes
Versions: 32
Compression:
Stored size: 539 Bytes
Contents
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
32 entries across 32 versions & 1 rubygems