mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-17 04:58:50 -04:00
Merge branch 'cycle-notification_history-table' of github.com:alphagov/notifications-api into cycle-notification_history-table
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
CREATE TABLE notification_history_pivot AS SELECT * from notification_history WHERE 1=2;
|
||||
|
||||
SELECT id
|
||||
INTO nh_temp
|
||||
FROM notification_history;
|
||||
CREATE TEMPORARY TABLE nh_temp AS SELECT id FROM notification_history;
|
||||
|
||||
SELECT COUNT(*) AS 'Total number of rows in nh' FROM nh_temp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user