Index: lams_tool_vote/db/model/lams_tool_vote.clay =================================================================== diff -u -ra1f83079a0fedc3d6982fde779286d0246847339 -rc7d0851ee500379b5241d2e9b2dd05c1dcd8f658 --- lams_tool_vote/db/model/lams_tool_vote.clay (.../lams_tool_vote.clay) (revision a1f83079a0fedc3d6982fde779286d0246847339) +++ lams_tool_vote/db/model/lams_tool_vote.clay (.../lams_tool_vote.clay) (revision c7d0851ee500379b5241d2e9b2dd05c1dcd8f658) @@ -528,11 +528,11 @@ - + - + Index: lams_tool_vote/db/sql/create_lams_tool_vote.sql =================================================================== diff -u -ra1f83079a0fedc3d6982fde779286d0246847339 -rc7d0851ee500379b5241d2e9b2dd05c1dcd8f658 --- lams_tool_vote/db/sql/create_lams_tool_vote.sql (.../create_lams_tool_vote.sql) (revision a1f83079a0fedc3d6982fde779286d0246847339) +++ lams_tool_vote/db/sql/create_lams_tool_vote.sql (.../create_lams_tool_vote.sql) (revision c7d0851ee500379b5241d2e9b2dd05c1dcd8f658) @@ -14,7 +14,7 @@ , offline_instructions TEXT , online_instructions TEXT , content_in_use TINYINT(1) NOT NULL DEFAULT 0 - , lock_on_finish TINYINT(1) NOT NULL DEFAULT 0 + , lock_on_finish TINYINT(1) NOT NULL DEFAULT 1 , retries TINYINT(1) NOT NULL DEFAULT 0 , reflectionSubject TEXT , PRIMARY KEY (uid) @@ -91,7 +91,7 @@ )TYPE=InnoDB; -INSERT INTO tl_lavote11_content(uid, content_id , title , instructions , creation_date , created_by , run_offline , define_later, offline_instructions, online_instructions, content_in_use, retries) VALUES (1, ${default_content_id} ,'Voting','Instructions', NOW(), 1,0, 0, '','', 0, 0); +INSERT INTO tl_lavote11_content(uid, content_id , title , instructions , creation_date , created_by , run_offline , define_later, offline_instructions, online_instructions, content_in_use, retries, lock_on_finish) VALUES (1, ${default_content_id} ,'Voting','Instructions', NOW(), 1,0, 0, '','', 0, 0, 1); INSERT INTO tl_lavote11_nomination_content (uid,nomination, display_order, vote_content_id) VALUES (1, 'Sample Nomination 1', 1, 1); INSERT INTO tl_lavote11_nomination_content (uid,nomination, display_order, vote_content_id) VALUES (2, 'Sample Nomination 2', 2, 1);