Sha256: 6d7287957304707da7d9998c7e56d5aea21a5cdd8b4b3b720749795fea3bb90a

Contents?: true

Size: 383 Bytes

Versions: 35

Compression:

Stored size: 383 Bytes

Contents

class AddNameAndSubscriptionIdAndUserIdToAccount < ActiveRecord::Migration
  def up
    add_column :accounts, :name, :string
    add_column :accounts, :subscription_id, :integer
    add_column :accounts, :user_id, :binary, :limit => 16
  end

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

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugusdk-1.0.11 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.10 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.9 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.8 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.7 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.6 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.5 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.4 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.3 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.2 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.1 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.32 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.31 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.30 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.29 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.28 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.27 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.26 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.25 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb
iugusdk-1.0.0.alpha.24 db/migrate/20120529174755_add_name_and_subscription_id_and_user_id_to_account.rb