Working on user+org create

This commit is contained in:
Janus C. H. Knudsen 2025-03-06 00:05:58 +01:00
parent a15cc00595
commit 0010a32248
6 changed files with 49 additions and 21 deletions

View file

@ -84,7 +84,6 @@ namespace PlanTempus.Database.Core.DDL
id SERIAL PRIMARY KEY,
connection_string VARCHAR(500) NOT NULL,
is_active BOOLEAN NOT NULL DEFAULT TRUE,
created_by INTEGER NOT NULL REFERENCES {_command.Schema}.users(id),
created_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP
);";