forked from External/greenlight
		
	* <Implemented basic welcome email upon signup> * <Added config option to enable> * <Added verification link routing> * <Added views for verify/resend and reconfigured routes> * <Finished Verification System minus Rspec changes> * <Fixed code style> * <Modified dome rspec tests> * <Switched sample env back to default> * <Added test cases to increase code coverage> * <Added test_helper> * <Minor code changes> * <Added requested changes> * <Added requested changes> * <see if this fixes migration> * <see if this fixes migration> * <fixed migrations> * Delete .rake_tasks~ * Update _confirm_button.html.erb * Update _resend_button.html.erb * Update verify_email.html.erb * Update verify_email.text.erb * <Fixed bugs> * <Added validation of verification link and fixed some code style> * <Disabled updating email for omniauth>
		
			
				
	
	
		
			51 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # This file is auto-generated from the current state of the database. Instead
 | |
| # of editing this file, please use the migrations feature of Active Record to
 | |
| # incrementally modify your database, and then regenerate this schema definition.
 | |
| #
 | |
| # Note that this schema.rb definition is the authoritative source for your
 | |
| # database schema. If you need to create the application database on another
 | |
| # system, you should be using db:schema:load, not running all the migrations
 | |
| # from scratch. The latter is a flawed and unsustainable approach (the more migrations
 | |
| # you'll amass, the slower it'll run and the greater likelihood for issues).
 | |
| #
 | |
| # It's strongly recommended that you check this file into your version control system.
 | |
| 
 | |
| ActiveRecord::Schema.define(version: 20180920193451) do
 | |
| 
 | |
|   create_table "rooms", force: :cascade do |t|
 | |
|     t.integer  "user_id"
 | |
|     t.string   "name"
 | |
|     t.string   "uid"
 | |
|     t.string   "bbb_id"
 | |
|     t.integer  "sessions",     default: 0
 | |
|     t.datetime "last_session"
 | |
|     t.datetime "created_at",               null: false
 | |
|     t.datetime "updated_at",               null: false
 | |
|     t.index ["bbb_id"], name: "index_rooms_on_bbb_id"
 | |
|     t.index ["last_session"], name: "index_rooms_on_last_session"
 | |
|     t.index ["name"], name: "index_rooms_on_name"
 | |
|     t.index ["sessions"], name: "index_rooms_on_sessions"
 | |
|     t.index ["uid"], name: "index_rooms_on_uid"
 | |
|     t.index ["user_id"], name: "index_rooms_on_user_id"
 | |
|   end
 | |
| 
 | |
|   create_table "users", force: :cascade do |t|
 | |
|     t.integer  "room_id"
 | |
|     t.string   "provider"
 | |
|     t.string   "uid"
 | |
|     t.string   "name"
 | |
|     t.string   "username"
 | |
|     t.string   "email"
 | |
|     t.string   "social_uid"
 | |
|     t.string   "image"
 | |
|     t.string   "password_digest"
 | |
|     t.boolean  "accepted_terms",  default: false
 | |
|     t.datetime "created_at",                      null: false
 | |
|     t.datetime "updated_at",                      null: false
 | |
|     t.boolean  "email_verified",  default: false
 | |
|     t.index ["password_digest"], name: "index_users_on_password_digest", unique: true
 | |
|     t.index ["room_id"], name: "index_users_on_room_id"
 | |
|   end
 | |
| 
 | |
| end
 |