Sha256: dbcbfb2c441a22c39c1a831d7a256ecbfc9769f228de4008194069b031ecc5e9

Contents?: true

Size: 208 Bytes

Versions: 12

Compression:

Stored size: 208 Bytes

Contents

class CreateAccounts < ActiveRecord::Migration
  def self.up
    create_table :accounts do |t|
      t.string :name
      
      t.timestamps
    end
  end

  def self.down
    drop_table :accounts
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
adva-0.2.4 db/migrate/20090625124502_create_accounts.rb
adva-0.2.3 db/migrate/20090625124502_create_accounts.rb
adva-0.2.2 db/migrate/20090625124502_create_accounts.rb
adva-0.2.1 db/migrate/20090625124502_create_accounts.rb
adva-0.2.0 db/migrate/20090625124502_create_accounts.rb
adva-0.1.4 db/migrate/20090625124502_create_accounts.rb
adva-0.1.3 db/migrate/20090625124502_create_accounts.rb
adva-0.1.2 db/migrate/20090625124502_create_accounts.rb
adva-0.1.1 db/migrate/20090625124502_create_accounts.rb
adva-0.1.0 db/migrate/20090625124502_create_accounts.rb
adva_user-0.0.1 db/migrate/20090625124502_create_accounts.rb
adva-0.0.1 adva_user/db/migrate/20090625124502_create_accounts.rb