Sha256: ade088ec1dbc6200827abe20df8944f2a2e59cb504c4804f960c21485bb94996
Contents?: true
Size: 490 Bytes
Versions: 19
Compression:
Stored size: 490 Bytes
Contents
class CreateAttachableAssets < ActiveRecord::Migration def self.up create_table :attachable_assets do |t| t.string :type t.integer :attachable_id t.string :attachable_type t.string :attachment_file_name t.string :attachment_content_type t.integer :attachment_file_size t.datetime :attachment_updated_at t.integer :position t.timestamps end end def self.down drop_table :attachable_assets end end
Version data entries
19 entries across 19 versions & 1 rubygems