Update migrations/2021-04-24-115720_remove_version_authors/down.sql
CREATE TABLE version_authors(
id SERIAL NOT NULL CONSTRAINT version_authors_pkey PRIMARY KEY,
- version_id INTEGER NOT NULL CONSTRAINT fk_version_authors_version_id REFERENCES versions ON DELETE CASCADED,
+ version_id INTEGER NOT NULL CONSTRAINT fk_version_authors_version_id REFERENCES versions ON DELETE CASCADE,
name VARCHAR NOT NULL
);
