mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 19:27:49 +00:00
Update ERD documentation
This commit is contained in:
@@ -89,24 +89,30 @@ SELECT * FROM public.app_settings;
|
|||||||
|
|
||||||
### How to bypass OTP for a local install?
|
### How to bypass OTP for a local install?
|
||||||
|
|
||||||
You can skip the otp, add or update json key value to the account preference.
|
To can skip the otp process, add or update the following json key value to the account preference.
|
||||||
```json
|
```json
|
||||||
"email_valid": true
|
"email_valid": true
|
||||||
```
|
```
|
||||||
|
SQL query
|
||||||
|
```sql
|
||||||
|
UPDATE auth.accounts
|
||||||
|
SET preferences='{"email_valid": true}'::jsonb || preferences
|
||||||
|
WHERE email='your.email@domain.com';
|
||||||
|
```
|
||||||
|
|
||||||
OTP is created and sent by email using a cron in postgres/cron/job.
|
OTP is created and sent by email using a cron in postgres/cron/job.
|
||||||
```sql
|
```sql
|
||||||
SELECT * FROM auth.otp;
|
SELECT * FROM auth.otp;
|
||||||
```
|
```
|
||||||
|
|
||||||
accounts are store in table signalk/auth/accounts
|
Accounts are store in table signalk/auth/accounts
|
||||||
```sql
|
```sql
|
||||||
SELECT * FROM auth.accounts;
|
SELECT * FROM auth.accounts;
|
||||||
```
|
```
|
||||||
|
|
||||||
You should have an history in table signalk/public/process_queue
|
You should have an history in table signalk/public/process_queue
|
||||||
```sql
|
```sql
|
||||||
select * from public.process_queue;
|
SELECT * from public.process_queue;
|
||||||
```
|
```
|
||||||
|
|
||||||
### How to turn off signups
|
### How to turn off signups
|
||||||
|
Reference in New Issue
Block a user