Sha256: 62e7bbeaac8559e7bd1294a39b765e82534b3f45cae6339957a0d110505be270

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

class CreateAccounts < ActiveRecord::Migration
  def self.up
    create_table :accounts do |t|
      t.string  :account_name,  :limit => 255,  :null => false
      t.timestamps
    end
  end

  def self.down
    drop_table :accounts
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 db/migrate/20090429113405_create_accounts.rb
smukherjee-openbill-0.1.6 db/migrate/20090429113405_create_accounts.rb
smukherjee-openbill-0.1.7 db/migrate/20090429113405_create_accounts.rb
openbill-0.1.5 db/migrate/20090429113405_create_accounts.rb
openbill-0.1.6 db/migrate/20090429113405_create_accounts.rb