fix google id issue
This commit is contained in:
parent
5fc96512e2
commit
e474717932
|
|
@ -24,6 +24,9 @@ services:
|
|||
- JWT_SECRET=${JWT_SECRET}
|
||||
- NODE_ENV=production
|
||||
- HOSTNAME=0.0.0.0
|
||||
- AUTH_URL=https://store.abrahem.se
|
||||
- AUTH_TRUST_HOST=true
|
||||
- NEXTAUTH_URL=https://store.abrahem.se
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_SECURE=${SMTP_SECURE}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ CREATE TABLE IF NOT EXISTS users (
|
|||
username VARCHAR(50) UNIQUE NOT NULL,
|
||||
password_hash VARCHAR(255) NOT NULL,
|
||||
full_name VARCHAR(100),
|
||||
google_id VARCHAR(255) UNIQUE,
|
||||
role ENUM('user', 'admin') DEFAULT 'user',
|
||||
email_verified BOOLEAN DEFAULT FALSE,
|
||||
verification_token VARCHAR(255),
|
||||
|
|
|
|||
Loading…
Reference in New Issue