summary refs log tree commit diff
path: root/synapse/storage/schema/common/full_schemas/72/full.sql.postgres
blob: f0e546f052d22a30042f233b936b4b279f0c0b65 (plain) (blame)
1
2
3
4
5
6
7
8
CREATE TABLE background_updates (
    update_name text NOT NULL,
    progress_json text NOT NULL,
    depends_on text,
    ordering integer DEFAULT 0 NOT NULL
);
ALTER TABLE ONLY background_updates
    ADD CONSTRAINT background_updates_uniqueness UNIQUE (update_name);