Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- +goose Up
|
||||
-- Allow pending unsubscribe tokens (issued at send time) before the recipient opts out.
|
||||
ALTER TABLE email_unsubscribes ALTER COLUMN unsubscribed_at DROP NOT NULL;
|
||||
ALTER TABLE email_unsubscribes ALTER COLUMN unsubscribed_at DROP DEFAULT;
|
||||
|
||||
-- +goose Down
|
||||
UPDATE email_unsubscribes SET unsubscribed_at = COALESCE(unsubscribed_at, now()) WHERE unsubscribed_at IS NULL;
|
||||
ALTER TABLE email_unsubscribes ALTER COLUMN unsubscribed_at SET DEFAULT now();
|
||||
ALTER TABLE email_unsubscribes ALTER COLUMN unsubscribed_at SET NOT NULL;
|
||||
Reference in New Issue
Block a user