From 6b87c1fd06acd4cd63fe398a61ab4e88f62de482 Mon Sep 17 00:00:00 2001 From: romanb Date: Fri, 12 Sep 2008 10:17:13 +0000 Subject: [PATCH] moved schema management --- lib/Doctrine/{ => DBAL}/Schema/FirebirdSchemaManager.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/InformixSchemaManager.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/MsSqlSchemaManager.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/MySqlSchemaManger.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/OracleSchemaManager.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/PostgreSqlSchemaManager.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/SchemaManager.php | 2 +- lib/Doctrine/{ => DBAL}/Schema/SqliteSchemaManager.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) rename lib/Doctrine/{ => DBAL}/Schema/FirebirdSchemaManager.php (99%) rename lib/Doctrine/{ => DBAL}/Schema/InformixSchemaManager.php (97%) rename lib/Doctrine/{ => DBAL}/Schema/MsSqlSchemaManager.php (99%) rename lib/Doctrine/{ => DBAL}/Schema/MySqlSchemaManger.php (99%) rename lib/Doctrine/{ => DBAL}/Schema/OracleSchemaManager.php (99%) rename lib/Doctrine/{ => DBAL}/Schema/PostgreSqlSchemaManager.php (99%) rename lib/Doctrine/{ => DBAL}/Schema/SchemaManager.php (99%) rename lib/Doctrine/{ => DBAL}/Schema/SqliteSchemaManager.php (99%) diff --git a/lib/Doctrine/Schema/FirebirdSchemaManager.php b/lib/Doctrine/DBAL/Schema/FirebirdSchemaManager.php similarity index 99% rename from lib/Doctrine/Schema/FirebirdSchemaManager.php rename to lib/Doctrine/DBAL/Schema/FirebirdSchemaManager.php index da943b10b..722b682d1 100644 --- a/lib/Doctrine/Schema/FirebirdSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/FirebirdSchemaManager.php @@ -31,7 +31,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_FirebirdSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_FirebirdSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { public function __construct(Doctrine_Connection_Firebird $conn) { diff --git a/lib/Doctrine/Schema/InformixSchemaManager.php b/lib/Doctrine/DBAL/Schema/InformixSchemaManager.php similarity index 97% rename from lib/Doctrine/Schema/InformixSchemaManager.php rename to lib/Doctrine/DBAL/Schema/InformixSchemaManager.php index be5327fff..f212c40e9 100644 --- a/lib/Doctrine/Schema/InformixSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/InformixSchemaManager.php @@ -31,7 +31,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_InformixSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_InformixSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { protected $sql = array( 'listTables' => "SELECT tabname,tabtype FROM systables WHERE tabtype IN ('T','V') AND owner != 'informix'", diff --git a/lib/Doctrine/Schema/MsSqlSchemaManager.php b/lib/Doctrine/DBAL/Schema/MsSqlSchemaManager.php similarity index 99% rename from lib/Doctrine/Schema/MsSqlSchemaManager.php rename to lib/Doctrine/DBAL/Schema/MsSqlSchemaManager.php index 42500d8c8..ed99f4a6d 100644 --- a/lib/Doctrine/Schema/MsSqlSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/MsSqlSchemaManager.php @@ -30,7 +30,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_MsSqlSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_MsSqlSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { public function __construct(Doctrine_Connection_Mssql $conn) { diff --git a/lib/Doctrine/Schema/MySqlSchemaManger.php b/lib/Doctrine/DBAL/Schema/MySqlSchemaManger.php similarity index 99% rename from lib/Doctrine/Schema/MySqlSchemaManger.php rename to lib/Doctrine/DBAL/Schema/MySqlSchemaManger.php index 658bf173d..5d06541de 100644 --- a/lib/Doctrine/Schema/MySqlSchemaManger.php +++ b/lib/Doctrine/DBAL/Schema/MySqlSchemaManger.php @@ -30,7 +30,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_MySqlSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_MySqlSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { public function __construct(Doctrine_Connection $conn) { diff --git a/lib/Doctrine/Schema/OracleSchemaManager.php b/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php similarity index 99% rename from lib/Doctrine/Schema/OracleSchemaManager.php rename to lib/Doctrine/DBAL/Schema/OracleSchemaManager.php index 688cb06cf..6b725eaa3 100644 --- a/lib/Doctrine/Schema/OracleSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php @@ -30,7 +30,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_OracleSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_OracleSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { public function __construct(Doctrine_Connection_Oracle $conn) { diff --git a/lib/Doctrine/Schema/PostgreSqlSchemaManager.php b/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php similarity index 99% rename from lib/Doctrine/Schema/PostgreSqlSchemaManager.php rename to lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php index a47c15144..c797e64ca 100644 --- a/lib/Doctrine/Schema/PostgreSqlSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php @@ -30,7 +30,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_PostgreSqlSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_PostgreSqlSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { /** * Enter description here... diff --git a/lib/Doctrine/Schema/SchemaManager.php b/lib/Doctrine/DBAL/Schema/SchemaManager.php similarity index 99% rename from lib/Doctrine/Schema/SchemaManager.php rename to lib/Doctrine/DBAL/Schema/SchemaManager.php index f84bccf7d..34a4643ae 100644 --- a/lib/Doctrine/Schema/SchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/SchemaManager.php @@ -32,7 +32,7 @@ * @since 2.0 * @todo Rename to AbstractSchemaManager */ -abstract class Doctrine_Schema_SchemaManager +abstract class Doctrine_DBAL_Schema_AbstractSchemaManager { protected $_conn; diff --git a/lib/Doctrine/Schema/SqliteSchemaManager.php b/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php similarity index 99% rename from lib/Doctrine/Schema/SqliteSchemaManager.php rename to lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php index 484ecd714..29c2c63e5 100644 --- a/lib/Doctrine/Schema/SqliteSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/SqliteSchemaManager.php @@ -30,7 +30,7 @@ * @version $Revision$ * @since 2.0 */ -class Doctrine_Schema_SqliteSchemaManager extends Doctrine_Schema_SchemaManager +class Doctrine_DBAL_Schema_SqliteSchemaManager extends Doctrine_DBAL_Schema_AbstractSchemaManager { public function __construct(Doctrine_Connection_Sqlite $conn) {