[server] Add ip column

This commit is contained in:
Neeraj Gupta 2024-04-25 13:14:37 +05:30
parent ef0873082a
commit badd9263f4
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE casting DROP COLUMN IF EXISTS ip;

View file

@ -0,0 +1,5 @@
--- 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;