Created
October 24, 2018 20:52
-
-
Save rsisco/99c00035d16476ce20043a8313d621c8 to your computer and use it in GitHub Desktop.
Create `google_analytics_export` and `m1_url_export` tables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################### | |
# Table creation SQL | |
CREATE TABLE `google_analytics_export` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`page` varchar(255) DEFAULT NULL, | |
`pageviews` int(11) DEFAULT NULL, | |
`store_id` int(11) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=18180 DEFAULT CHARSET=latin1; | |
CREATE TABLE `m1_url_export` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`request_path` varchar(500) DEFAULT '', | |
`url` varchar(500) DEFAULT NULL, | |
`target_url` varchar(500) DEFAULT NULL, | |
`url_type` int(3) DEFAULT NULL, | |
`description` longtext, | |
`category_id` int(11) DEFAULT NULL, | |
`product_id` int(11) DEFAULT NULL, | |
`sku` varchar(255) DEFAULT NULL, | |
`store_id` int(11) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=56610 DEFAULT CHARSET=latin1; | |
################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
USAGE: