8 lines
301 B
SQL
8 lines
301 B
SQL
-- +goose Up
|
|
-- Keep issued aliases for existing senders. New sources need only their UUID.
|
|
ALTER TABLE events.sources ALTER COLUMN webhook_path DROP NOT NULL;
|
|
|
|
-- +goose Down
|
|
-- Refuse rollback once a source without an alias exists.
|
|
ALTER TABLE events.sources ALTER COLUMN webhook_path SET NOT NULL;
|