[2.0] DDC-169 - Some refactorings
This commit is contained in:
parent
59a17eb51c
commit
1546663743
@ -1772,6 +1772,16 @@ abstract class AbstractPlatform
|
||||
return $schemaElementName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Maximum length of any given databse identifier, like tables or column names.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxIdentifierLength()
|
||||
{
|
||||
return 63;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the insert sql for an empty insert statement
|
||||
*
|
||||
|
@ -603,6 +603,16 @@ END;';
|
||||
return $schemaElementName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Maximum length of any given databse identifier, like tables or column names.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getMaxIdentifierLength()
|
||||
{
|
||||
return 30;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the platform supports sequences.
|
||||
*
|
||||
|
@ -35,10 +35,6 @@ namespace Doctrine\DBAL\Schema;
|
||||
*/
|
||||
abstract class AbstractAsset
|
||||
{
|
||||
const CASE_UPPER = "upper";
|
||||
const CASE_LOWER = "lower";
|
||||
const CASE_KEEP = "keep";
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user