Make perlcritic happy
[gruntmaster-data.git] / testdata.sql
index 5cf0565094409307ff8550391a01deae565c7edb..bc00077b68fbd1a1682ad5dfa99daae3c6b8dbc1 100644 (file)
@@ -1,7 +1,9 @@
-CREATE FUNCTION tm() RETURNS BIGINT IMMUTABLE LANGUAGE SQL AS $$
+CREATE OR REPLACE FUNCTION tm() RETURNS BIGINT IMMUTABLE LANGUAGE SQL AS $$
        SELECT EXTRACT(epoch FROM NOW())::bigint
 $$;
 
+TRUNCATE users, contests, problems, jobs RESTART IDENTITY CASCADE;
+
 -- USERS
 
 INSERT INTO users (id, admin) VALUES ('MGV', TRUE);
This page took 0.009047 seconds and 4 git commands to generate.