Sha256: 8e60eade13395c172fc01c13b295e124a0b7a6a2328ad4203aeee5803b98eb7e

Contents?: true

Size: 370 Bytes

Versions: 6

Compression:

Stored size: 370 Bytes

Contents

class AddNameAndSubscriptionIdAndUserIdToAccount < ActiveRecord::Migration
  def up
    add_column :accounts, :name, :string
    add_column :accounts, :subscription_id, :integer
    add_column :accounts, :user_id, :integer
  end

  def down
    remove_column :accounts, :name
    remove_column :accounts, :subscription_id
    remove_column :accounts, :user_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.5 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.4 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.3 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.2 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.1 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.0 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb