fix missing database tables about licenses
This commit is contained in:
parent
25e4c96f24
commit
a070e79d06
18
mt_skins.sql
18
mt_skins.sql
@ -14,3 +14,21 @@ CREATE TABLE IF NOT EXISTS `mt_skins` (
|
||||
`img` text CHARACTER SET ascii NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=19 ;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `mt_skins_licenses` (
|
||||
`id` tinyint(4) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`url` varchar(255) DEFAULT NULL,
|
||||
`text` text NOT NULL,
|
||||
`imgurl` varchar(255) NOT NULL COMMENT 'url of image displayed in the db',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='the list of possible licenses' AUTO_INCREMENT=8 ;
|
||||
|
||||
INSERT INTO `mt_skins_licenses` (`id`, `name`, `url`, `text`, `imgurl`) VALUES
|
||||
(1, 'CC BY-SA 3.0', 'http://creativecommons.org/licenses/by-sa/3.0/', '', 'http://i.creativecommons.org/l/by-sa/3.0/88x31.png'),
|
||||
(2, 'CC BY-NC-SA 3.0', 'http://creativecommons.org/licenses/by-nc-sa/3.0/', '', 'http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png'),
|
||||
(3, 'CC BY 3.0', 'http://creativecommons.org/licenses/by/3.0/ ', '', 'http://i.creativecommons.org/l/by/3.0/88x31.png'),
|
||||
(4, 'CC BY 4.0', 'http://creativecommons.org/licenses/by/4.0/ ', '', 'http://i.creativecommons.org/l/by/4.0/88x31.png'),
|
||||
(5, 'CC BY-SA 4.0', 'http://creativecommons.org/licenses/by-sa/4.0/', '', 'http://i.creativecommons.org/l/by-sa/4.0/88x31.png'),
|
||||
(6, 'CC BY-NC-SA 4.0', 'http://creativecommons.org/licenses/by-nc-sa/4.0/', '', 'http://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png'),
|
||||
(7, 'CC 0 (1.0)', 'http://creativecommons.org/publicdomain/zero/1.0/', '', 'http://i.creativecommons.org/l/zero/1.0/88x31.png');
|
||||
|
Loading…
x
Reference in New Issue
Block a user