aboutsummaryrefslogtreecommitdiff
path: root/install/index.php
diff options
context:
space:
mode:
authorCamil Staps2016-08-04 00:06:08 +0200
committerCamil Staps2016-08-04 00:06:08 +0200
commit85116b23f0514c6ffe1cc2a6313e812dd4532848 (patch)
tree56ea56782bdb7505ff645acd1571429445e6c083 /install/index.php
parentDiscount value is not /hr (diff)
Minor but significant fixes
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,