15 lines
638 B
SQL
15 lines
638 B
SQL
-- Support for a configurable pause between FIP association and the start
|
|||
|
|
-- of self-check (see docs/USAGE.md).
|
||
|
|
|
||
|
|
ALTER TABLE ip_queue ADD COLUMN fip_associated_at TIMESTAMP;
|
||
|
|
|
||
|
|
-- Singleton row for the one dynamic scalar setting we have so far.
|
||
|
|
-- Deliberately a typed single-row table, not a generic key-value settings
|
||
|
|
-- table: overengineering for exactly one field. If more scalar knobs show
|
||
|
|
-- up, add columns here first.
|
||
|
|
CREATE TABLE settings (
|
||
|
|
id INTEGER PRIMARY KEY CHECK (id = 1),
|
||
|
|
fip_settle_seconds INTEGER NOT NULL DEFAULT 0,
|
||
|
|
created_at TIMESTAMP NOT NULL,
|
||
|
|
updated_at TIMESTAMP NOT NULL
|
||
|
|
);
|