From 72e716dc033678c5d8178d6b7fb6cc24c35f68ff Mon Sep 17 00:00:00 2001 From: engineerTrooper Date: Mon, 21 Sep 2020 21:52:59 +0200 Subject: [PATCH] =?UTF-8?q?VENOM-1=20:=20added=20metaTagData=20to=20SQL-Da?= =?UTF-8?q?tabase;=20testing=20with=20@Maurice=20Gr=C3=B6nwoldt;=20Test=20?= =?UTF-8?q?successful?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/db.sql | 16 +++++++++------- src/Venom/Helper/MetaGenerator.php | 4 +++- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/install/db.sql b/install/db.sql index 46f704a..0039c21 100755 --- a/install/db.sql +++ b/install/db.sql @@ -7,6 +7,14 @@ create table if not exists seoData ) comment 'seo url mapping'; +create table if not exists metaTagData +( + id int(255) auto_increment not null unique primary key, + content JSON not null, + isActive tinyint(1) default 1 null +) + comment 'Meta Tag File'; + create table if not exists language ( id int(255) auto_increment not null unique primary key, @@ -26,10 +34,4 @@ create table if not exists data raw longtext not null, datatype enum ('content', 'form') ) - comment 'DataLoader File'; - -create table if not exists meteData -( - id int(255) auto_increment not null unique primary key -) - comment 'Test' + comment 'DataLoader File'; \ No newline at end of file diff --git a/src/Venom/Helper/MetaGenerator.php b/src/Venom/Helper/MetaGenerator.php index e6dd9dd..547c592 100644 --- a/src/Venom/Helper/MetaGenerator.php +++ b/src/Venom/Helper/MetaGenerator.php @@ -10,5 +10,7 @@ namespace Venom\Helper; */ class MetaGenerator { - + //config erweitern, dass die Klasse ausgeschaltet werden kann + //ArgumentHandler muss die SEO-Urls mit der ID von der metaData gefüttert werden + // } \ No newline at end of file