1
0
mirror of synced 2025-02-20 22:23:14 +03:00

[2.0] DDC-169 - Some refactorings

This commit is contained in:
beberlei 2009-12-10 22:39:28 +00:00
parent 59a17eb51c
commit 1546663743
3 changed files with 20 additions and 4 deletions

View File

@ -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
*

View File

@ -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.
*

View File

@ -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
*/