mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-05 06:08:24 -04:00
Merge branch 'cycle-notification_history-table' of github.com:alphagov/notifications-api into cycle-notification_history-table
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
-- Call once at the start of the process
|
-- Call once at the start of the process
|
||||||
|
|
||||||
|
create index created_id_nh on notification_history (created_at, id);
|
||||||
|
|
||||||
CREATE TABLE notification_history_pivot AS SELECT * from notification_history WHERE 1=2;
|
CREATE TABLE notification_history_pivot AS SELECT * from notification_history WHERE 1=2;
|
||||||
|
|
||||||
CREATE TEMPORARY TABLE nh_temp AS SELECT id FROM notification_history;
|
CREATE TEMPORARY TABLE nh_temp AS SELECT id FROM notification_history;
|
||||||
|
|||||||
Reference in New Issue
Block a user