From 36a3ff9248787fe7ab40367a6cc736313503add6 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Sat, 16 Dec 2017 13:03:02 +0100
Subject: [PATCH] Fix create-statement for MySQL >5.6

---
 modules/consent/docs/consent.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/consent/docs/consent.md b/modules/consent/docs/consent.md
index 886d6fcbd..80d12b1c4 100644
--- a/modules/consent/docs/consent.md
+++ b/modules/consent/docs/consent.md
@@ -72,8 +72,8 @@ database.
 Here is the initialization SQL script:
 
 	CREATE TABLE consent (
-		consent_date TIMESTAMP NOT NULL,
-		usage_date TIMESTAMP NOT NULL,
+		consent_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+		usage_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
 		hashed_user_id VARCHAR(80) NOT NULL,
 		service_id VARCHAR(255) NOT NULL,
 		attribute VARCHAR(80) NOT NULL,
-- 
GitLab