Browse Source

Fix PostgreSQL migration

The PostgreSQL migration should have used `TIMESTAMP` rather than `DATETIME`.
pull/2080/head
Jeremy Lin 3 years ago
parent
commit
c49ee47de0
  1. 2
      migrations/postgresql/2021-10-24-164321_add_2fa_incomplete/up.sql

2
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)

Loading…
Cancel
Save