From 85116b23f0514c6ffe1cc2a6313e812dd4532848 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 4 Aug 2016 00:06:08 +0200 Subject: Minor but significant fixes --- install/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install') diff --git a/install/index.php b/install/index.php index 990c6eb..953187c 100644 --- a/install/index.php +++ b/install/index.php @@ -89,9 +89,9 @@ if (isset($_GET['create_tables'])) { $_pdo->query("CREATE TABLE IF NOT EXISTS `".Constants::db_prefix."offer` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `contactId` smallint(5) unsigned NOT NULL, - `start_date` date NOT NULL, - `end_date` date NOT NULL, - `invoice_date` date NOT NULL, + `start_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `invoice_date` date DEFAULT NULL, `accepted` tinyint(1) unsigned NOT NULL DEFAULT '0', `invoice_fileId` smallint(5) unsigned DEFAULT NULL, `payment_key` varchar(63) DEFAULT NULL, -- cgit v1.2.3