ente/server/migrations/84_add_cast_column.up.sql
2024-04-25 13:14:37 +05:30

6 lines
164 B
PL/PgSQL

--- Delete all rows from casting table and add a non-nullable column called ip
BEGIN;
DELETE FROM casting;
ALTER TABLE casting ADD COLUMN ip text NOT NULL;
COMMIT;