mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-11-23 19:33:46 +01:00
Fix persistent devise login
This commit is contained in:
1 parent
6b1a28222f
commit
5dd59efe3d
4 files changed
+11
-4
No files matched your search
@@ -0,0 +1,5 @@
|
||||
class AddRememberTokenToUsers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :remember_token, :string
|
||||
end
|
||||
end
|
||||
+2
-1
@@ -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