# HG changeset patch # User Daniel Poelzleithner # Date 1286195069 -7200 # Node ID 4fc1779a9c98bc8afb1bb9106f6b8131d3f89aa2 # Parent 5d7b482241faadc0600c8ff7098dd08fa37542b3 add test policies the test policies have values that move them quickly to the target area for frontend development diff -r 5d7b482241fa -r 4fc1779a9c98 demo.sql --- a/demo.sql Sun Sep 19 01:54:30 2010 +0200 +++ b/demo.sql Mon Oct 04 14:24:29 2010 +0200 @@ -245,5 +245,65 @@ DROP FUNCTION "time_warp"(); +-- Test policies that help with testing specific frontend parts + +INSERT INTO "policy" ( + "index", + "active", + "name", + "description", + "admission_time", + "discussion_time", + "verification_time", + "voting_time", + "issue_quorum_num", + "issue_quorum_den", + "initiative_quorum_num", + "initiative_quorum_den" + ) VALUES ( + 1, + TRUE, + 'Test New', + DEFAULT, + '2 days', + '1 second', + '1 second', + '1 second', + 0, 0, + 0, 0 + ), ( + 1, + TRUE, + 'Test Accept', + DEFAULT, + '1 second', + '2 days', + '1 second', + '1 second', + 0, 0, + 0, 0 + ), ( + 1, + TRUE, + 'Test Frozen', + DEFAULT, + '1 second', + '5 minutes', + '2 days', + '1 second', + 0, 0, + 0, 0 + ), ( + 1, + TRUE, + 'Test Voting', + DEFAULT, + '1 second', + '5 minutes', + '1 second', + '2 days', + 0, 0, + 0, 0 + ); END;