mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
10 lines
269 B
MySQL
10 lines
269 B
MySQL
|
ALTER TABLE hdb_catalog.event_log
|
||
|
ADD COLUMN archived BOOLEAN NOT NULL DEFAULT FALSE;
|
||
|
|
||
|
UPDATE hdb_catalog.event_log
|
||
|
SET archived = 't'
|
||
|
WHERE
|
||
|
trigger_name NOT IN (SELECT name from hdb_catalog.event_triggers);
|
||
|
|
||
|
CREATE INDEX ON hdb_catalog.event_log (delivered);
|