Sha256: 23b9b36bfbc94b8f94da496e2a3ffe91b901bec684840ef3e6c98393e34364cd
Contents?: true
Size: 514 Bytes
Versions: 5
Compression:
Stored size: 514 Bytes
Contents
class CreateAssets < ActiveRecord::Migration def self.up create_table :brightcontent_assets 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_assets, :attachable_id add_index :brightcontent_assets, :attachable_type end def self.down drop_table :brightcontent_assets end end
Version data entries
5 entries across 5 versions & 1 rubygems