user-svc/migrations/1_user.sql

11 lines
304 B
SQL

CREATE TABLE IF NOT EXISTS user (
id INT AUTO_INCREMENT PRIMARY KEY,
time_created DATETIME,
last_updated DATETIME,
app VARCHAR(255) NOT NULL,
credential VARCHAR(255) NOT NULL,
credential_type VARCHAR(20) NOT NULL,
name VARCHAR(255) NOT NULL,
password TEXT NOT NULL,
salt TEXT NOT NULL
)