mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-13 17:48:39 +00:00
remove db prefix
This commit is contained in:
parent
2a8cd5ce75
commit
b9b6c1bd20
|
|
@ -48,3 +48,20 @@ parameters:
|
||||||
-
|
-
|
||||||
message: '#Binary operation "\-" between string and int results in an error#'
|
message: '#Binary operation "\-" between string and int results in an error#'
|
||||||
path: *Matrix/Matrix.php
|
path: *Matrix/Matrix.php
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
`a`.`organization_unit_id` as id_3,
|
||||||
|
`b`.`organization_unit_id` as id_2,
|
||||||
|
`c`.`organization_unit_id` as id_1
|
||||||
|
|
||||||
|
FROM `oms_organization_unit` as a
|
||||||
|
|
||||||
|
LEFT JOIN `oms_organization_unit` as b
|
||||||
|
ON
|
||||||
|
`a`.`organization_unit_parent` = `b`.`organization_unit_id`
|
||||||
|
|
||||||
|
LEFT JOIN `oms_organization_unit` as c
|
||||||
|
ON
|
||||||
|
`b`.`organization_unit_parent` = `c`.`organization_unit_id`
|
||||||
|
|
||||||
|
WHERE `a`.`organization_unit_id` = 1;
|
||||||
|
|
@ -610,7 +610,6 @@ return [
|
||||||
|
|
||||||
'phpOMS\tests\DataStorage\Database\Query\Grammar\GrammarTest' => ['description' => 'Basic sql query grammar', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Query\Grammar\GrammarTest' => ['description' => 'Basic sql query grammar', 'type' => 'framework'],
|
||||||
'phpOMS\tests\DataStorage\Database\Query\Grammar\GrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Query\Grammar\GrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
||||||
'phpOMS\tests\DataStorage\Database\Query\Grammar\GrammarTest:testPrefixInputOutput' => ['description' => 'The grammar can define a default table prefix and return this value', 'type' => 'framework'],
|
|
||||||
|
|
||||||
'phpOMS\tests\DataStorage\Database\Query\Grammar\MysqlGrammarTest' => ['description' => 'Mysql sql query grammar', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Query\Grammar\MysqlGrammarTest' => ['description' => 'Mysql sql query grammar', 'type' => 'framework'],
|
||||||
'phpOMS\tests\DataStorage\Database\Query\Grammar\MysqlGrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Query\Grammar\MysqlGrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
||||||
|
|
@ -626,7 +625,6 @@ return [
|
||||||
|
|
||||||
'phpOMS\tests\DataStorage\Database\Schema\Grammar\GrammarTest' => ['description' => 'Basic sql query grammar', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Schema\Grammar\GrammarTest' => ['description' => 'Basic sql query grammar', 'type' => 'framework'],
|
||||||
'phpOMS\tests\DataStorage\Database\Schema\Grammar\GrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Schema\Grammar\GrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
||||||
'phpOMS\tests\DataStorage\Database\Schema\Grammar\GrammarTest:testPrefixInputOutput' => ['description' => 'The grammar can define a default table prefix and return this value', 'type' => 'framework'],
|
|
||||||
|
|
||||||
'phpOMS\tests\DataStorage\Database\Schema\Grammar\MysqlGrammarTest' => ['description' => 'Mysql sql schema grammar', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Schema\Grammar\MysqlGrammarTest' => ['description' => 'Mysql sql schema grammar', 'type' => 'framework'],
|
||||||
'phpOMS\tests\DataStorage\Database\Schema\Grammar\MysqlGrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
'phpOMS\tests\DataStorage\Database\Schema\Grammar\MysqlGrammarTest:testDefault' => ['description' => 'The grammar has the expected default values after initialization', 'type' => 'framework'],
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,7 @@ $config = [
|
||||||
'login' => 'root', /* db login name */
|
'login' => 'root', /* db login name */
|
||||||
'password' => 'root', /* db login password */
|
'password' => 'root', /* db login password */
|
||||||
'database' => 'oms', /* db name */
|
'database' => 'oms', /* db name */
|
||||||
'prefix' => 'oms_', /* db table prefix */
|
'weight' => 1000, /* db table weight */
|
||||||
'weight' => 1000, /* db table prefix */
|
|
||||||
],
|
],
|
||||||
'insert' => [
|
'insert' => [
|
||||||
'db' => 'mysql', /* db type */
|
'db' => 'mysql', /* db type */
|
||||||
|
|
@ -38,8 +37,7 @@ $config = [
|
||||||
'login' => 'root', /* db login name */
|
'login' => 'root', /* db login name */
|
||||||
'password' => 'root', /* db login password */
|
'password' => 'root', /* db login password */
|
||||||
'database' => 'oms', /* db name */
|
'database' => 'oms', /* db name */
|
||||||
'prefix' => 'oms_', /* db table prefix */
|
'weight' => 1000, /* db table weight */
|
||||||
'weight' => 1000, /* db table prefix */
|
|
||||||
],
|
],
|
||||||
'select' => [
|
'select' => [
|
||||||
'db' => 'mysql', /* db type */
|
'db' => 'mysql', /* db type */
|
||||||
|
|
@ -48,8 +46,7 @@ $config = [
|
||||||
'login' => 'root', /* db login name */
|
'login' => 'root', /* db login name */
|
||||||
'password' => 'root', /* db login password */
|
'password' => 'root', /* db login password */
|
||||||
'database' => 'oms', /* db name */
|
'database' => 'oms', /* db name */
|
||||||
'prefix' => 'oms_', /* db table prefix */
|
'weight' => 1000, /* db table weight */
|
||||||
'weight' => 1000, /* db table prefix */
|
|
||||||
],
|
],
|
||||||
'update' => [
|
'update' => [
|
||||||
'db' => 'mysql', /* db type */
|
'db' => 'mysql', /* db type */
|
||||||
|
|
@ -58,8 +55,7 @@ $config = [
|
||||||
'login' => 'root', /* db login name */
|
'login' => 'root', /* db login name */
|
||||||
'password' => 'root', /* db login password */
|
'password' => 'root', /* db login password */
|
||||||
'database' => 'oms', /* db name */
|
'database' => 'oms', /* db name */
|
||||||
'prefix' => 'oms_', /* db table prefix */
|
'weight' => 1000, /* db table weight */
|
||||||
'weight' => 1000, /* db table prefix */
|
|
||||||
],
|
],
|
||||||
'delete' => [
|
'delete' => [
|
||||||
'db' => 'mysql', /* db type */
|
'db' => 'mysql', /* db type */
|
||||||
|
|
@ -68,8 +64,7 @@ $config = [
|
||||||
'login' => 'root', /* db login name */
|
'login' => 'root', /* db login name */
|
||||||
'password' => 'root', /* db login password */
|
'password' => 'root', /* db login password */
|
||||||
'database' => 'oms', /* db name */
|
'database' => 'oms', /* db name */
|
||||||
'prefix' => 'oms_', /* db table prefix */
|
'weight' => 1000, /* db table weight */
|
||||||
'weight' => 1000, /* db table prefix */
|
|
||||||
],
|
],
|
||||||
'schema' => [
|
'schema' => [
|
||||||
'db' => 'mysql', /* db type */
|
'db' => 'mysql', /* db type */
|
||||||
|
|
@ -78,8 +73,7 @@ $config = [
|
||||||
'login' => 'root', /* db login name */
|
'login' => 'root', /* db login name */
|
||||||
'password' => 'root', /* db login password */
|
'password' => 'root', /* db login password */
|
||||||
'database' => 'oms', /* db name */
|
'database' => 'oms', /* db name */
|
||||||
'prefix' => 'oms_', /* db table prefix */
|
'weight' => 1000, /* db table weight */
|
||||||
'weight' => 1000, /* db table prefix */
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
@ -138,7 +132,6 @@ $request->setMethod(RequestMethod::POST);
|
||||||
$request->setData('dbhost', $config['db']['core']['masters']['admin']['host']);
|
$request->setData('dbhost', $config['db']['core']['masters']['admin']['host']);
|
||||||
$request->setData('dbtype', $config['db']['core']['masters']['admin']['db']);
|
$request->setData('dbtype', $config['db']['core']['masters']['admin']['db']);
|
||||||
$request->setData('dbport', $config['db']['core']['masters']['admin']['port']);
|
$request->setData('dbport', $config['db']['core']['masters']['admin']['port']);
|
||||||
$request->setData('dbprefix', $config['db']['core']['masters']['admin']['prefix']);
|
|
||||||
$request->setData('dbname', $config['db']['core']['masters']['admin']['database']);
|
$request->setData('dbname', $config['db']['core']['masters']['admin']['database']);
|
||||||
$request->setData('schemauser', $config['db']['core']['masters']['admin']['login']);
|
$request->setData('schemauser', $config['db']['core']['masters']['admin']['login']);
|
||||||
$request->setData('schemapassword', $config['db']['core']['masters']['admin']['password']);
|
$request->setData('schemapassword', $config['db']['core']['masters']['admin']['password']);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user