Skip to content

Commit

Permalink
Merge pull request #153 from indentlabs/add-user-plan-type
Browse files Browse the repository at this point in the history
Add plan type on user model
  • Loading branch information
drusepth authored Nov 2, 2016
2 parents 5c75658 + f4eb1ed commit 9e8cb70
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20161102095042_add_plan_type_to_users.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddPlanTypeToUsers < ActiveRecord::Migration
def change
add_column :users, :plan_type, :string
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20161029224722) do
ActiveRecord::Schema.define(version: 20161102095042) do

create_table "archenemyships", force: :cascade do |t|
t.integer "user_id"
Expand Down Expand Up @@ -625,6 +625,7 @@
t.datetime "last_sign_in_at"
t.string "current_sign_in_ip"
t.string "last_sign_in_ip"
t.string "plan_type"
end

add_index "users", ["email"], name: "index_users_on_email", unique: true
Expand Down

0 comments on commit 9e8cb70

Please sign in to comment.