user-svc/migrations/1_user.sql

11 lines
304 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS user (
id INT AUTO_INCREMENT PRIMARY KEY,
time_created DATETIME,
last_updated DATETIME,
2022-07-08 18:35:19 +00:00
app VARCHAR(255) NOT NULL,
2022-08-26 17:58:47 +00:00
credential VARCHAR(255) NOT NULL,
credential_type VARCHAR(10) NOT NULL,
name VARCHAR(255) NOT NULL,
password TEXT NOT NULL,
salt TEXT NOT NULL
)