diff --git a/server/db/schema.sql b/server/db/schema.sql index a33942c..e235498 100644 --- a/server/db/schema.sql +++ b/server/db/schema.sql @@ -490,8 +490,8 @@ CREATE TABLE IF NOT EXISTS shard_governor_terms ( governor_acct VARCHAR(120) NULL, governor_web_id INT NULL, started_at BIGINT NOT NULL, -- term start, epoch ms - ended_at BIGINT NULL, -- term end, epoch ms; NULL = current - votes INT NULL, -- not in the feed; reserved + ended_at BIGINT NULL, -- term end epoch ms (NULL = current) + votes INT NULL, -- not in the feed (reserved) created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, INDEX idx_shard_gov_terms_city (city, started_at), INDEX idx_shard_gov_terms_open (city, ended_at)