Merge pull request #153 from indentlabs/add-user-plan-type

Add plan type on user model
This commit is contained in:
Andrew Brown 2016-11-02 10:58:40 +01:00 committed by GitHub
commit 9e8cb7013f
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddPlanTypeToUsers < ActiveRecord::Migration
def change
add_column :users, :plan_type, :string
end
end

View File

@ -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"
@ -625,6 +625,7 @@ ActiveRecord::Schema.define(version: 20161029224722) do
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