Sha256: 9d10beb0fb34426bb2f5c1d4b29bfb38447713410ba21ef9267d6a7c84346e4d

Contents?: true

Size: 205 Bytes

Versions: 7

Compression:

Stored size: 205 Bytes

Contents

class CreateSoldiers < ActiveRecord::Migration

  def self.up
    create_table :soldiers do |t|
      t.string :rank
      t.timestamps
    end
  end

  def self.down
    drop_table :soldiers
  end
  
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
aegis-1.1.8 test/app_root/db/migrate/20090429075648_create_soldiers.rb
thelinuxlich-aegis-1.1.9 test/app_root/db/migrate/20090429075648_create_soldiers.rb
thelinuxlich-aegis-1.1.8 test/app_root/db/migrate/20090429075648_create_soldiers.rb
thelinuxlich-aegis-1.1.7 test/app_root/db/migrate/20090429075648_create_soldiers.rb
aegis-1.1.7 test/app_root/db/migrate/20090429075648_create_soldiers.rb
aegis-1.1.6 test/app_root/db/migrate/20090429075648_create_soldiers.rb
aegis-1.1.5 test/app_root/db/migrate/20090429075648_create_soldiers.rb