addition of archive server listing
This commit is contained in:
8
backend/db/migrations/000022 - system-identity.sql
Normal file
8
backend/db/migrations/000022 - system-identity.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE IF NOT EXISTS system.settings (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
created_ts TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
||||
);
|
||||
INSERT INTO system.settings (id)
|
||||
SELECT gen_random_uuid()
|
||||
WHERE NOT EXISTS (SELECT 1 FROM system.settings);
|
||||
CREATE INDEX idx__system__settings__id ON system.settings (id);
|
||||
Reference in New Issue
Block a user