Sha256: 37b5ba6f8b0a79d362e7c556557c16043b618f4a637e1c3d413c360e5f2565b9

Contents?: true

Size: 368 Bytes

Versions: 21

Compression:

Stored size: 368 Bytes

Contents

class CreateEmsAssets < ActiveRecord::Migration
  def change
    create_table :ems_assets do |t|
      t.string :title
      # paperclip
      t.string :asset_file_name
      t.string :asset_content_type
      t.integer :asset_file_size
      t.datetime :asset_updated_at
      
      t.references :assetable, :polymorphic => true
      t.timestamps
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ems-0.1.12 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.11 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.10 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.9 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.8 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.7 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.6 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.5 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.4 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.3 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.2 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.1 db/migrate/20120514103226_create_ems_assets.rb
ems-0.1.0 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.9 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.8 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.7 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.6 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.5 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.4 db/migrate/20120514103226_create_ems_assets.rb
ems-0.0.3 db/migrate/20120514103226_create_ems_assets.rb