Skip to content

Commit

Permalink
Merge pull request #2080 from jjlin/fix-postgres-migration
Browse files Browse the repository at this point in the history
Fix PostgreSQL migration
  • Loading branch information
dani-garcia committed Nov 1, 2021
2 parents 88643fd + c49ee47 commit 6ae48aa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)
Expand Down

0 comments on commit 6ae48aa

Please sign in to comment.