mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Merge pull request #153 from indentlabs/add-user-plan-type
Add plan type on user model
This commit is contained in:
commit
9e8cb7013f
5
db/migrate/20161102095042_add_plan_type_to_users.rb
Normal file
5
db/migrate/20161102095042_add_plan_type_to_users.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddPlanTypeToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :plan_type, :string
|
||||
end
|
||||
end
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user