All checks were successful
Deploy Smart Search Backend / deploy (push) Successful in 1m41s
16 lines
326 B
SQL
16 lines
326 B
SQL
-- +goose Up
|
|
CREATE TABLE IF NOT EXISTS mailing_status (
|
|
id SERIAL PRIMARY KEY,
|
|
status_name TEXT NOT NULL UNIQUE
|
|
);
|
|
|
|
INSERT INTO mailing_status (status_name) VALUES
|
|
('pending'),
|
|
('in_progress'),
|
|
('completed'),
|
|
('failed')
|
|
ON CONFLICT (status_name) DO NOTHING;
|
|
|
|
-- +goose Down
|
|
DROP TABLE mailing_status;
|