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