mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add instructions to set password for OAuth users (#346)
This commit is contained in:
committed by
GitHub
parent
57ed8c338d
commit
5a162c6f4f
@@ -0,0 +1,5 @@
|
||||
class AddHasSetPasswordToUsers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :users, :has_set_password, :boolean, default: true, null: false
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2024_04_27_140300) do
|
||||
ActiveRecord::Schema.define(version: 2024_05_14_112836) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -198,6 +198,7 @@ ActiveRecord::Schema.define(version: 2024_04_27_140300) do
|
||||
t.integer "status"
|
||||
t.bigint "tenant_id", null: false
|
||||
t.string "oauth_token"
|
||||
t.boolean "has_set_password", default: true, null: false
|
||||
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
|
||||
t.index ["email", "tenant_id"], name: "index_users_on_email_and_tenant_id", unique: true
|
||||
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
||||
|
||||
Reference in New Issue
Block a user