Skip to content

Commit

Permalink
add sql install data
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Apr 27, 2020
1 parent ec9e428 commit 27b3636
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/SeoBundle/Resources/install/sql/install.sql
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
CREATE TABLE IF NOT EXISTS `seo_queue_entry` (
CREATE TABLE `seo_element_meta_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`element_type` varchar(255) NOT NULL,
`element_id` int(11) NOT NULL,
`integrator` varchar(255) NOT NULL,
`data` longtext NOT NULL COMMENT '(DC2Type:array)',
PRIMARY KEY (`id`),
UNIQUE KEY `element_type_id_integrator` (`element_type`,`element_id`,`integrator`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `seo_queue_entry` (
`uuid` varchar(255) NOT NULL,
`data_id` int(11) NOT NULL,
`type` varchar(255) NOT NULL,
`data_type` varchar(255) NOT NULL,
`data_id` int(11) NOT NULL,
`data_url` longtext NOT NULL,
`creation_date` datetime NOT NULL,
`worker` varchar(255) NOT NULL,
`resource_processor` varchar(255) NOT NULL,
`creation_date` datetime NOT NULL,
PRIMARY KEY (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

0 comments on commit 27b3636

Please sign in to comment.