8 lines
366 B
SQL
8 lines
366 B
SQL
-- Historical reads are not local outbox events: do not invent local IDs or
|
|
-- acknowledge an event that has not actually been delivered.
|
|
CREATE TABLE computer_file_history_receipts (
|
|
operation_id TEXT PRIMARY KEY REFERENCES computer_operations(id) ON DELETE CASCADE,
|
|
payload JSONB NOT NULL,
|
|
observed_at TIMESTAMPTZ NOT NULL DEFAULT clock_timestamp()
|
|
);
|