6 lines
182 B
MySQL
6 lines
182 B
MySQL
|
CREATE TABLE codes_3fa (
|
||
|
id SERIAL NOT NULL PRIMARY KEY,
|
||
|
code VARCHAR(10) NOT NULL UNIQUE,
|
||
|
user_id SERIAL NOT NULL REFERENCES users(id),
|
||
|
expires_on BIGINT NOT NULL
|
||
|
);
|