chore: rename migration

This commit is contained in:
Sérgio Salgado 2021-04-19 16:15:10 +01:00 committed by Josh Harvey
parent 19138c2d46
commit 91fa16254c

View file

@ -10,6 +10,7 @@ exports.up = function (next) {
role role NOT NULL DEFAULT 'user', role role NOT NULL DEFAULT 'user',
enabled BOOLEAN DEFAULT true, enabled BOOLEAN DEFAULT true,
twofa_code VARCHAR(100), twofa_code VARCHAR(100),
temp_twofa_code VARCHAR(100),
created TIMESTAMPTZ NOT NULL DEFAULT now(), created TIMESTAMPTZ NOT NULL DEFAULT now(),
last_accessed TIMESTAMPTZ NOT NULL DEFAULT now(), last_accessed TIMESTAMPTZ NOT NULL DEFAULT now(),
last_accessed_from TEXT, last_accessed_from TEXT,