d9e2bece27
- Facilitate modifying migrations without cascading consequences for later migrations updating the same tables
9 lines
235 B
SQL
9 lines
235 B
SQL
-- +goose Up
|
|
CREATE TABLE public.checked_headers (
|
|
id SERIAL PRIMARY KEY,
|
|
header_id INTEGER UNIQUE NOT NULL REFERENCES headers (id) ON DELETE CASCADE
|
|
);
|
|
|
|
-- +goose Down
|
|
DROP TABLE public.checked_headers;
|