Files
go-playground/projects/greenlight/migrations/000002_add_movies_check_constraints.down.sql

6 lines
199 B
SQL

ALTER TABLE movies DROP CONSTRAINT IF EXISTS movies_runtime_check;
ALTER TABLE movies DROP CONSTRAINT IF EXISTS movies_year_check;
ALTER TABLE movies DROP CONSTRAINT IF EXISTS genres_length_check;