fix: coordinate SMS completion and improve operations diagnostics
CSS quality / css-quality (push) Has been cancelled
CSS quality / css-quality (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
CREATE TABLE "InfrastructureAlertCollection" (
|
||||
"id" TEXT NOT NULL PRIMARY KEY,
|
||||
"observedAt" TIMESTAMP(3) NOT NULL
|
||||
);
|
||||
CREATE TABLE "InfrastructureAlertEvent" (
|
||||
"id" TEXT NOT NULL PRIMARY KEY,
|
||||
"fingerprint" TEXT NOT NULL,
|
||||
"activeAt" TIMESTAMP(3) NOT NULL,
|
||||
"payload" JSONB NOT NULL,
|
||||
"lastObservedAt" TIMESTAMP(3) NOT NULL,
|
||||
"recoveredAt" TIMESTAMP(3),
|
||||
"clearedAt" TIMESTAMP(3),
|
||||
"clearedBy" TEXT,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
CREATE UNIQUE INDEX "InfrastructureAlertEvent_fingerprint_activeAt_key" ON "InfrastructureAlertEvent"("fingerprint", "activeAt");
|
||||
CREATE INDEX "InfrastructureAlertEvent_clearedAt_activeAt_idx" ON "InfrastructureAlertEvent"("clearedAt", "activeAt");
|
||||
Reference in New Issue
Block a user