From 2ddf7b118a6166bc257af9d904efa987cf61c75b Mon Sep 17 00:00:00 2001 From: alext Date: Sun, 24 Jun 2018 17:12:13 +0200 Subject: [PATCH] Added type field into the consent table (#480). --- src/application/migrations/012_legal_contents.php | 1 + src/assets/sql/structure.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/src/application/migrations/012_legal_contents.php b/src/application/migrations/012_legal_contents.php index 204cbb12..59ccfacf 100644 --- a/src/application/migrations/012_legal_contents.php +++ b/src/application/migrations/012_legal_contents.php @@ -32,6 +32,7 @@ class Migration_Legal_contents extends CI_Migration { `last_name` VARCHAR(256), `email` VARCHAR(512), `ip` VARCHAR(256), + `type` VARCHAR(256), PRIMARY KEY (`id`) ) ENGINE = InnoDB diff --git a/src/assets/sql/structure.sql b/src/assets/sql/structure.sql index fde705a4..01a73465 100644 --- a/src/assets/sql/structure.sql +++ b/src/assets/sql/structure.sql @@ -30,6 +30,7 @@ CREATE TABLE IF NOT EXISTS `ea_consents` ( `last_name` VARCHAR(256), `email` VARCHAR(512), `ip` VARCHAR(256), + `type` VARCHAR(256), PRIMARY KEY (`id`) ) ENGINE = InnoDB