aboutsummaryrefslogtreecommitdiff
path: root/install/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/index.php')
-rw-r--r--install/index.php6
1 files changed, 3 insertions, 3 deletions
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,