fp/services/migrations-schema/migrations/00076_builds-use-vod_id-ins...

8 lines
174 B
MySQL
Raw Normal View History

2024-10-02 17:38:24 +00:00
-- for consistency, using vod_id instead of vod
ALTER TABLE api.builds
DROP COLUMN vod;
ALTER TABLE api.builds
ADD COLUMN vod_id UUID NOT NULL REFERENCES api.vods(id);