mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-26 18:18:51 +01:00
Fix persistent devise login
This commit is contained in:
5
db/migrate/20190828084343_add_remember_token_to_users.rb
Normal file
5
db/migrate/20190828084343_add_remember_token_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddRememberTokenToUsers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :remember_token, :string
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2019_02_04_164033) do
|
||||
ActiveRecord::Schema.define(version: 2019_08_28_084343) do
|
||||
|
||||
create_table "problems", force: :cascade do |t|
|
||||
t.datetime "created_at"
|
||||
@@ -39,6 +39,7 @@ ActiveRecord::Schema.define(version: 2019_02_04_164033) do
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "name"
|
||||
t.string "remember_token"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user