Commit edf42f11 authored by Steve Müller's avatar Steve Müller

rebase platform

parent 9c042ee8
...@@ -331,6 +331,14 @@ class SQLAnywherePlatform extends AbstractPlatform ...@@ -331,6 +331,14 @@ class SQLAnywherePlatform extends AbstractPlatform
return 'ALTER TABLE ' . $table . ' ADD ' . $this->getPrimaryKeyDeclarationSQL($index); return 'ALTER TABLE ' . $table . ' ADD ' . $this->getPrimaryKeyDeclarationSQL($index);
} }
/**
* {@inheritdoc}
*/
public function getCreateSchemaSQL($schemaName)
{
return 'CREATE SCHEMA AUTHORIZATION ' . $schemaName;
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
...@@ -435,6 +443,14 @@ class SQLAnywherePlatform extends AbstractPlatform ...@@ -435,6 +443,14 @@ class SQLAnywherePlatform extends AbstractPlatform
return 'DATE'; return 'DATE';
} }
/**
* {@inheritdoc}
*/
public function getDefaultSchemaName()
{
return 'DBA';
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
...@@ -1069,6 +1085,14 @@ class SQLAnywherePlatform extends AbstractPlatform ...@@ -1069,6 +1085,14 @@ class SQLAnywherePlatform extends AbstractPlatform
return true; return true;
} }
/**
* {@inheritdoc}
*/
public function schemaNeedsCreation($schemaName)
{
return $schemaName !== 'DBA';
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
......
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