mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-04-05 03:10:57 -04:00
14 lines
310 B
SQL
14 lines
310 B
SQL
CREATE TABLE IF NOT EXISTS users (
|
|
id INTEGER PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
|
username VARCHAR ( 255 ),
|
|
password VARCHAR (255)
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS federated_credentials (
|
|
user_id INTEGER NOT NULL,
|
|
provider TEXT NOT NULL,
|
|
subject TEXT NOT NULL,
|
|
PRIMARY KEY (provider, subject)
|
|
);
|
|
|
|
|