Class: CreateAssetThumbs

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/active_admin/generator/templates/db/migrate/20121126113057_create_asset_thumbs.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
# File 'lib/active_admin/generator/templates/db/migrate/20121126113057_create_asset_thumbs.rb', line 2

def change
  create_table :asset_thumbs do |t|
    t.string :uid
    t.string :job

    t.timestamps
  end
end