Commit 15466637 authored by beberlei's avatar beberlei

[2.0] DDC-169 - Some refactorings

parent 59a17eb5
...@@ -1772,6 +1772,16 @@ abstract class AbstractPlatform ...@@ -1772,6 +1772,16 @@ abstract class AbstractPlatform
return $schemaElementName; 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 * Get the insert sql for an empty insert statement
* *
......
...@@ -603,6 +603,16 @@ END;'; ...@@ -603,6 +603,16 @@ END;';
return $schemaElementName; 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. * Whether the platform supports sequences.
* *
......
...@@ -35,10 +35,6 @@ namespace Doctrine\DBAL\Schema; ...@@ -35,10 +35,6 @@ namespace Doctrine\DBAL\Schema;
*/ */
abstract class AbstractAsset abstract class AbstractAsset
{ {
const CASE_UPPER = "upper";
const CASE_LOWER = "lower";
const CASE_KEEP = "keep";
/** /**
* @var string * @var string
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment