hotel/migrations/2023-03-26-024710_create_3f.../up.sql

6 lines
182 B
MySQL
Raw Permalink Normal View History

2023-03-26 13:32:23 +00:00
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
);