]> ruin.nu Git - ndwebbie.git/blobdiff - database/functions/find_planet_id.sql
Updates for round 100
[ndwebbie.git] / database / functions / find_planet_id.sql
index 5890af945b482ddbc7f0ebff725316166e0953f2..94d01b90343653e01b4a4b721381de72aaf4215c 100644 (file)
@@ -1,5 +1,4 @@
-DROP FUNCTIOn IF EXISTS find_planet_id(text,text,race);
-CREATE OR REPLACE FUNCTION find_planet_id(_id text, _ruler text, _planet text, _race race) RETURNS integer
+CREATE OR REPLACE FUNCTION find_planet_id(_id text, _ruler text, _planet text, _race text) RETURNS integer
     AS $_$
 DECLARE
        p RECORD;