8 lines
363 B
SQL
8 lines
363 B
SQL
-- One immutable logical owner per Dispatcher database. Broker ownership is a
|
|
-- separate live-instance guard; an epoch never replaces this identity.
|
|
CREATE TABLE IF NOT EXISTS dispatcher_identity (
|
|
singleton INTEGER PRIMARY KEY CHECK (singleton = 1),
|
|
dispatcher_id TEXT NOT NULL UNIQUE CHECK (length(dispatcher_id) = 36),
|
|
created_at TEXT NOT NULL
|
|
);
|