[+] MO : CloudCache module

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14929 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
jObregon
2012-04-26 16:39:43 +00:00
parent e9d8e968b8
commit fac1566a5f
31 changed files with 6776 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
$sql = array();
$sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'cloudcache_zone` (
`id_zone` int(10) unsigned NOT NULL,
`id_shop` int(10) unsigned NOT NULL,
`id_group_shop` int(10) unsigned NOT NULL,
`name` varchar(255) NOT NULL,
`origin` varchar(255) NULL,
`compress` tinyint NULL,
`label` varchar(255) NULL,
`cdn_url` varchar(255) NOT NULL,
`bw_yesterday` int(10) NOT NULL,
`bw_last_week` int(10) NOT NULL,
`bw_last_month` int(10) NOT NULL,
`file_type` varchar(16) NOT NULL,
`zone_type` varchar(16) NOT NULL,
PRIMARY KEY (`id_zone`, `id_shop`),
UNIQUE (`id_zone`, `name`, `cdn_url`))
ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';