Sha256: 18734bdf41f84a9c92dccb8d49af1cf75086037f6473ee66584177443e06c34a

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

class CreateAssets < ActiveRecord::Migration
  def change
    create_table :assetable_assets do |t|
      t.string :type
      t.string :name
      t.text :body
      t.string :filename
      t.string :checksum
      t.string :path
      t.string :content_type
      t.integer :file_size
      t.integer :width
      t.integer :height
      t.integer :duration
      t.integer :bit_rate
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
assetable-0.3.1 db/migrate/20131122232735_create_assets.rb
assetable-0.3.0 db/migrate/20131122232735_create_assets.rb