You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
795 B
27 lines
795 B
/**
|
|
* @version v1.8.1 - Plugins
|
|
* @schema 1b0fce992f6c7ed37a9b2914f86775d4
|
|
* @title Add plugin management system
|
|
*
|
|
* Add table for plugin manager
|
|
*/
|
|
|
|
ALTER TABLE `%TABLE_PREFIX%staff`
|
|
ADD `backend` varchar(32) default NULL AFTER `passwd`;
|
|
|
|
-- Plugins
|
|
DROP TABLE IF EXISTS `%TABLE_PREFIX%plugin`;
|
|
CREATE TABLE `%TABLE_PREFIX%plugin` (
|
|
`id` int(11) unsigned not null auto_increment,
|
|
`name` varchar(30) not null,
|
|
`install_path` varchar(60) not null,
|
|
`isphar` tinyint(1) not null default 0,
|
|
`isactive` tinyint(1) not null default 0,
|
|
`installed` datetime not null,
|
|
primary key (`id`)
|
|
) DEFAULT CHARSET=utf8;
|
|
|
|
-- Finished with patch
|
|
UPDATE `%TABLE_PREFIX%config`
|
|
SET `value` = '1b0fce992f6c7ed37a9b2914f86775d4'
|
|
WHERE `key` = 'schema_signature' AND `namespace` = 'core';
|