mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-21 19:11:04 +00:00
Set null to email_blocklist table fields
This commit is contained in:
parent
c0483cf12e
commit
858cad2995
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue