diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index 5e78b650b4..b6d3d6d580 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -341,13 +341,18 @@ CREATE TABLE IF NOT EXISTS `ttrap_custom_values` ( -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `tmetaconsole_setup` ( `id` int(10) NOT NULL auto_increment primary key, - `server_name` text default '', - `server_url` text default '', - `dbuser` text default '', - `dbpass` text default '', - `dbhost` text default '', - `dbport` text default '', - `dbname` text default '', + `server_name` text, + `server_url` text, + `dbuser` text, + `dbpass` text, + `dbhost` text, + `dbport` text, + `dbname` text, + `meta_dbuser` text, + `meta_dbpass` text, + `meta_dbhost` text, + `meta_dbport` text, + `meta_dbname` text, `auth_token` text default '', `id_group` int(10) unsigned NOT NULL default 0, `api_password` text NOT NULL, diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index dbdd002a8f..86bf5b116d 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -2412,14 +2412,19 @@ CREATE TABLE IF NOT EXISTS `ttrap_custom_values` ( -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `tmetaconsole_setup` ( `id` int(10) NOT NULL auto_increment primary key, - `server_name` text default '', - `server_url` text default '', - `dbuser` text default '', - `dbpass` text default '', - `dbhost` text default '', - `dbport` text default '', - `dbname` text default '', - `auth_token` text default '', + `server_name` text, + `server_url` text, + `dbuser` text, + `dbpass` text, + `dbhost` text, + `dbport` text, + `dbname` text, + `meta_dbuser` text, + `meta_dbpass` text, + `meta_dbhost` text, + `meta_dbport` text, + `meta_dbname` text, + `auth_token` text, `id_group` int(10) unsigned NOT NULL default 0, `api_password` text NOT NULL, `disabled` tinyint(1) unsigned NOT NULL default '0',