From 7f3923e381cc1491c77fc8fede494b7bd4cce5f9 Mon Sep 17 00:00:00 2001 From: Rajat Singh Date: Thu, 15 Sep 2016 21:11:13 +0530 Subject: [PATCH] fixed issues with first time configuration --- CRE.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRE.sql b/CRE.sql index bd4888a..2f9703c 100644 --- a/CRE.sql +++ b/CRE.sql @@ -29,8 +29,8 @@ SET time_zone = "+00:00"; CREATE TABLE `candidates` ( `id` int(11) NOT NULL, `name` varchar(50) NOT NULL, - `votes` int(11) NOT NULL, - `n_votes` int(11) NOT NULL + `votes` int(11) NOT NULL DEFAULT '0', + `n_votes` int(11) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- --------------------------------------------------------