Adding migration files for users tables
This commit is contained in:
parent
11d336fef0
commit
ea81d04937
4 changed files with 30 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
DROP TABLE users;
|
|
@ -0,0 +1,14 @@
|
|||
CREATE TABLE IF NOT EXISTS users (
|
||||
id VARCHAR(100),
|
||||
username VARCHAR(100),
|
||||
email VARCHAR(255),
|
||||
password VARCHAR(100),
|
||||
mfa_secret VARCHAR(100),
|
||||
auth_service VARCHAR(20),
|
||||
auth_data VARCHAR(255),
|
||||
Props JSON,
|
||||
CreateAt BIGINT,
|
||||
UpdateAt BIGINT,
|
||||
DeleteAt BIGINT,
|
||||
PRIMARY KEY (id)
|
||||
);
|
|
@ -0,0 +1 @@
|
|||
DROP TABLE users;
|
|
@ -0,0 +1,14 @@
|
|||
CREATE TABLE IF NOT EXISTS users (
|
||||
id VARCHAR(100),
|
||||
username VARCHAR(100),
|
||||
email VARCHAR(255),
|
||||
password VARCHAR(100),
|
||||
mfa_secret VARCHAR(100),
|
||||
auth_service VARCHAR(20),
|
||||
auth_data VARCHAR(255),
|
||||
Props TEXT,
|
||||
CreateAt BIGINT,
|
||||
UpdateAt BIGINT,
|
||||
DeleteAt BIGINT,
|
||||
PRIMARY KEY (id)
|
||||
);
|
Loading…
Reference in a new issue