1
0
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:
2019-08-28 11:14:32 +02:00
parent 6b1a28222f
commit 5dd59efe3d
4 changed files with 11 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
class AddRememberTokenToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :remember_token, :string
end
end

View File

@@ -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