DROP FUNCTION IF EXISTS find_planet_id(text,text,text,race);
DROP FUNCTION covop_alert(integer, integer, integer, integer, govs, integer);
\i functions/find_planet_id.sql
-\i functions/find_planet_id.sql
+\i functions/covop_alert.sql
ALTER TABLE ship_stats ADD FOREIGN KEY (race) REFERENCES races(race) ON UPDATE CASCADE ON DELETE CASCADE;
ALTER TABLE ship_stats ADD COLUMN cloaked BOOLEAN NOT NULL DEFAULT false, ADD COLUMN baseeta INTEGER NOT NULL DEFAULT 0;
ALTER TABLE ship_stats ALTER COLUMN cloaked DROP DEFAULT, ALTER COLUMN baseeta DROP DEFAULT, ALTER COLUMN guns DROP DEFAULT, ALTER COLUMN eres DROP DEFAULT;