Sha256: 650bc7b67554ea4cdbd8d8b4d6580cb6a995b82598f01937be7408630e5c108c

Contents?: true

Size: 269 Bytes

Versions: 17

Compression:

Stored size: 269 Bytes

Contents

class AddAddressesToUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :norm_address, :string
    add_column :users, :sec_address, :string
  end

  def self.down
    remove_column :users, :sec_address
    remove_column :users, :norm_address
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
gmaps4rails-0.11.1 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.11.0 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.10.2 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.10.1 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.10.0 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.10.0.pre1 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.9.1 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.9.0 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.8 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.7 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.6 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.5 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.4 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.3 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.2 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.1 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb
gmaps4rails-0.8.0 test/dummy/db/migrate/20110430081624_add_addresses_to_users.rb