Skip to content

Commit 759b5e3

Browse files
author
cfoe
committed
added template tables to sql
1 parent 2e8df11 commit 759b5e3

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

install/sql/incremental/upd_0034.sql

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,34 @@ CREATE TABLE IF NOT EXISTS `aps_settings` (
6565
UNIQUE KEY `name` (`name`)
6666
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
6767

68+
-- --------------------------------------------------------
69+
70+
--
71+
-- Tabellenstruktur für Tabelle `tpl_default`
72+
--
73+
74+
CREATE TABLE IF NOT EXISTS `tpl_default` (
75+
`var_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
76+
`username` varchar(64) NOT NULL,
77+
`logo_url` varchar(255) NOT NULL,
78+
PRIMARY KEY (`var_id`)
79+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
80+
81+
-- --------------------------------------------------------
82+
83+
--
84+
-- Tabellenstruktur für Tabelle `tpl_default-v2`
85+
--
86+
87+
CREATE TABLE IF NOT EXISTS `tpl_default-v2` (
88+
`var_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
89+
`username` varchar(64) NOT NULL,
90+
`logo_url` varchar(255) NOT NULL,
91+
PRIMARY KEY (`var_id`)
92+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
93+
94+
-- --------------------------------------------------------
95+
6896
--
6997
-- Dumping data for table `aps_settings`
7098
--
@@ -74,4 +102,7 @@ INSERT INTO `aps_settings` (`id`, `name`, `value`) VALUES(2, 'ignore-php-configu
74102
INSERT INTO `aps_settings` (`id`, `name`, `value`) VALUES(3, 'ignore-webserver-module', '');
75103

76104
ALTER TABLE `client` ADD `limit_aps` int(11) NOT NULL DEFAULT '0' AFTER `limit_webdav_user`;
77-
ALTER TABLE `client_template` ADD `limit_aps` int(11) NOT NULL DEFAULT '0' AFTER `limit_webdav_user`;
105+
ALTER TABLE `client_template` ADD `limit_aps` int(11) NOT NULL DEFAULT '0' AFTER `limit_webdav_user`;
106+
107+
-- INSERT INTO `tpl_default` (`var_id`, `username`, `logo_url`) VALUES('', 'global', 'themes/default/images/header_logo.png');
108+
-- INSERT INTO `tpl_default-2` (`var_id`, `username`, `logo_url`) VALUES('', 'global', 'themes/default-v2/images/header_logo.png');

0 commit comments

Comments
 (0)