Browse Source
Merge pull request #2080 from jjlin/fix-postgres-migration
Fix PostgreSQL migration
pull/2084/head
Daniel García
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
migrations/postgresql/2021-10-24-164321_add_2fa_incomplete/up.sql
|
|
@ -2,7 +2,7 @@ CREATE TABLE twofactor_incomplete ( |
|
|
|
user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid), |
|
|
|
device_uuid VARCHAR(40) NOT NULL, |
|
|
|
device_name TEXT NOT NULL, |
|
|
|
login_time DATETIME NOT NULL, |
|
|
|
login_time TIMESTAMP NOT NULL, |
|
|
|
ip_address TEXT NOT NULL, |
|
|
|
|
|
|
|
PRIMARY KEY (user_uuid, device_uuid) |
|
|
|