mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-03 12:49:20 +02:00
add settings migration
This commit is contained in:
parent
1340b8e63e
commit
1345ad97d5
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
if(!$db->hasTable(TABLE_PREFIX . 'settings')) {
|
||||
$db->exec("CREATE TABLE `" . TABLE_PREFIX . "settings`
|
||||
(
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`plugin_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`key` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`value` TEXT NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `key` (`key`)
|
||||
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;");
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user