Set null to email_blocklist table fields

This commit is contained in:
Kitaiti Makoto 2022-01-30 00:54:10 +09:00
parent c0483cf12e
commit 858cad2995
2 changed files with 8 additions and 2 deletions

View File

@ -1 +1,4 @@
-- This file should undo anything in `up.sql` ALTER TABLE email_blocklist ALTER COLUMN notification_text DROP NOT NULL;
ALTER TABLE email_blocklist ALTER COLUMN notify_user DROP NOT NULL;
ALTER TABLE email_blocklist ALTER COLUMN note DROP NOT NULL;
ALTER TABLE email_blocklist ALTER COLUMN email_address DROP NOT NULL;

View File

@ -1 +1,4 @@
-- Your SQL goes here ALTER TABLE email_blocklist ALTER COLUMN email_address SET NOT NULL;
ALTER TABLE email_blocklist ALTER COLUMN note SET NOT NULL;
ALTER TABLE email_blocklist ALTER COLUMN notify_user SET NOT NULL;
ALTER TABLE email_blocklist ALTER COLUMN notification_text SET NOT NULL;