SQL
This commit is contained in:
parent
525e221e17
commit
4a548ef2a7
1
modules/skinstatic/bin/cron.php
Normal file
1
modules/skinstatic/bin/cron.php
Normal file
@ -0,0 +1 @@
|
||||
<?php
|
28
modules/skinstatic/install/skinstatic.sql
Normal file
28
modules/skinstatic/install/skinstatic.sql
Normal file
@ -0,0 +1,28 @@
|
||||
CREATE TABLE `ps_skinstatic` (
|
||||
`id_skinstatic` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`active` int(11) unsigned NOT NULL DEFAULT '1',
|
||||
`start_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`end_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id_skinstatic`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
||||
|
||||
CREATE TABLE `ps_skinstatic_lang` (
|
||||
`id_skinstatic` int(11) NOT NULL,
|
||||
`id_lang` int(11) NOT NULL,
|
||||
`image` varchar(255) NOT NULL,
|
||||
`link_left` varchar(255) NOT NULL,
|
||||
`link_right` varchar(255) NOT NULL,
|
||||
`new_window` tinyint(1) NOT NULL,
|
||||
UNIQUE KEY `idxSkinstaticLang` (`id_skinstatic`,`id_lang`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
||||
|
||||
CREATE TABLE `ps_skinstatic_fallback` (
|
||||
`id_skinstatic_fallback` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`id_lang` int(11) NOT NULL,
|
||||
`image` varchar(255) NOT NULL,
|
||||
`link_left` varchar(255) NOT NULL,
|
||||
`link_right` varchar(255) NOT NULL,
|
||||
`new_window` tinyint(1) NOT NULL,
|
||||
PRIMARY KEY (`id_skinstatic_fallback`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
Loading…
Reference in New Issue
Block a user