I have some problems with my MantisBT plugin table. The plugin itself is installed and running, but the plugin table is not created when the plugin is installed.
I simply added a schema function to my plugin class to create a table:
function schema()
{
return array(
array("CreateTableSQL", array(plugin_table("test"), "
id I NOTNULL UNSIGNED AUTOINCREMENT PRIMARY
"))
);
}
The same for third-party plugins: tables are not created when they are installed!
I am using MantisBT 1.2.14 and XAMPP 1.7.7. on Windows 7. A database user, by the way, has ALL PRIVILEGES for actions in the database.
Where could the problem be? And does anyone know a good documentation about defining a schema for a mantis?
source
share