diff --git a/db/migrate/20161102095042_add_plan_type_to_users.rb b/db/migrate/20161102095042_add_plan_type_to_users.rb new file mode 100644 index 00000000..79328903 --- /dev/null +++ b/db/migrate/20161102095042_add_plan_type_to_users.rb @@ -0,0 +1,5 @@ +class AddPlanTypeToUsers < ActiveRecord::Migration + def change + add_column :users, :plan_type, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 8835a365..63beb9e1 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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