Protocol 2.0/2.1 uo-link integration — boards, cross-links, news gump, account provisioning #65
@@ -490,8 +490,8 @@ CREATE TABLE IF NOT EXISTS shard_governor_terms (
|
|||||||
governor_acct VARCHAR(120) NULL,
|
governor_acct VARCHAR(120) NULL,
|
||||||
governor_web_id INT NULL,
|
governor_web_id INT NULL,
|
||||||
started_at BIGINT NOT NULL, -- term start, epoch ms
|
started_at BIGINT NOT NULL, -- term start, epoch ms
|
||||||
ended_at BIGINT NULL, -- term end, epoch ms; NULL = current
|
ended_at BIGINT NULL, -- term end epoch ms (NULL = current)
|
||||||
votes INT NULL, -- not in the feed; reserved
|
votes INT NULL, -- not in the feed (reserved)
|
||||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
INDEX idx_shard_gov_terms_city (city, started_at),
|
INDEX idx_shard_gov_terms_city (city, started_at),
|
||||||
INDEX idx_shard_gov_terms_open (city, ended_at)
|
INDEX idx_shard_gov_terms_open (city, ended_at)
|
||||||
|
|||||||
Reference in New Issue
Block a user