IF NOT EXISTS

This commit is contained in:
Daniel Ponte 2024-12-01 17:29:26 -05:00
parent 8ea82bf7d4
commit 18dda76c2c

View file

@ -78,7 +78,7 @@ CREATE TABLE IF NOT EXISTS alerts(
metadata JSONB metadata JSONB
); );
CREATE TABLE calls ( CREATE TABLE IF NOT EXISTS calls(
id UUID, id UUID,
submitter INTEGER REFERENCES api_keys(id) ON DELETE SET NULL, submitter INTEGER REFERENCES api_keys(id) ON DELETE SET NULL,
system INTEGER NOT NULL, system INTEGER NOT NULL,