Sha256: 83697231c4a81e2329abd9081a7192623abcace7d586d3963b77d7042c4b27b4

Contents?: true

Size: 198 Bytes

Versions: 30

Compression:

Stored size: 198 Bytes

Contents

class CreateAssets < ActiveRecord::Migration
  def self.up
    create_table :assets do |t|
      t.string :file
      t.timestamps
    end
  end
  
  def self.down
    drop_table :assets
  end  
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
kuhsaft-0.2.1 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.2 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.1.1 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.1.0 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.0.8 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.0.7 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.0.6 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.0.5 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.0.4 lib/templates/kuhsaft/install/create_assets.rb
kuhsaft-0.0.3 db/migrate/20110307162621_create_assets.rb