Name change

This commit is contained in:
2019-03-13 20:30:30 -03:00
parent bee1de27ca
commit 1d886326c5
18 changed files with 67 additions and 67 deletions
Regular → Executable
+1 -1
View File
@@ -3,7 +3,7 @@
require('vendor/autoload.php');
use DDLWrapper\Wrapper as Wrapper;
use BBDDL\Wrapper as Wrapper;
$pdo = new \PDO('sqlite:database.sqlite3');
+2 -2
View File
@@ -1,5 +1,5 @@
{
"name": "ahwelp/ddlwrapper",
"name": "ahwelp/bbddl",
"description": "From Phinx, just the DDL",
"type": "library",
"authors": [
@@ -11,7 +11,7 @@
"require": {},
"autoload": {
"psr-4": {
"DDLWrapper\\": "src/DDLWrapper"
"BBDDL\\": "src/BBDDL"
}
}
}
+2 -2
View File
@@ -26,9 +26,9 @@
* @package Phinx
* @subpackage Phinx\Migration
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Adapter\AdapterInterface;
use BBDDL\Db\Adapter\AdapterInterface;
/**
* Adapter factory and registry.
+6 -6
View File
@@ -26,13 +26,13 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
//use DDLWrapper\Migration\MigrationInterface;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
//use BBDDL\Migration\MigrationInterface;
/**
* Adapter Interface.
+6 -6
View File
@@ -26,13 +26,13 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use DDLWrapper\Migration\MigrationInterface;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
use BBDDL\Migration\MigrationInterface;
/**
* Adapter Wrapper.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
/**
* Phinx MySQL Adapter.
+3 -3
View File
@@ -26,10 +26,10 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
/**
* Phinx PDO Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
class PostgresAdapter extends PdoAdapter implements AdapterInterface
{
+6 -6
View File
@@ -26,13 +26,13 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
//use DDLWrapper\Migration\IrreversibleMigrationException;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
//use BBDDL\Migration\IrreversibleMigrationException;
/**
* Phinx Proxy Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
/**
* Phinx SQLite Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
/**
* Phinx SqlServer Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use BBDDL\Db\Table;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
/**
* Table prefix/suffix adapter.
+1 -1
View File
@@ -26,7 +26,7 @@
* @package Phinx
* @subpackage Phinx\Db\Adapter
*/
namespace DDLWrapper\Db\Adapter;
namespace BBDDL\Db\Adapter;
/**
* Wrapper Interface.
Regular → Executable
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx
* @subpackage Phinx\Db
*/
namespace DDLWrapper\Db;
namespace BBDDL\Db;
use DDLWrapper\Db\Table\Column;
use DDLWrapper\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey;
use DDLWrapper\Db\Adapter\AdapterInterface;
use BBDDL\Db\Table\Column;
use BBDDL\Db\Table\Index;
use BBDDL\Db\Table\ForeignKey;
use BBDDL\Db\Adapter\AdapterInterface;
/**
*
+1 -1
View File
@@ -26,7 +26,7 @@
* @package Phinx
* @subpackage Phinx\Db
*/
namespace DDLWrapper\Db\Table;
namespace BBDDL\Db\Table;
/**
*
+2 -2
View File
@@ -27,9 +27,9 @@
* @subpackage Phinx\Db
* @author Leonid Kuzmin <lndkuzmin@gmail.com>
*/
namespace DDLWrapper\Db\Table;
namespace BBDDL\Db\Table;
use DDLWrapper\Db\Table;
use BBDDL\Db\Table;
class ForeignKey
{
+1 -1
View File
@@ -26,7 +26,7 @@
* @package Phinx
* @subpackage Phinx\Db
*/
namespace DDLWrapper\Db\Table;
namespace BBDDL\Db\Table;
class Index
{
Regular → Executable
+6 -6
View File
@@ -1,13 +1,13 @@
<?php
namespace DDLWrapper;
namespace BBDDL;
use DDLWrapper\Db\Table as Table;
use BBDDL\Db\Table as Table;
use DDLWrapper\Db\Adapter\PostgresAdapter;
use DDLWrapper\Db\Adapter\MysqlAdapter;
use DDLWrapper\Db\Adapter\SQLiteAdapter;
use DDLWrapper\Db\Adapter\SqlServerAdapter;
use BBDDL\Db\Adapter\PostgresAdapter;
use BBDDL\Db\Adapter\MysqlAdapter;
use BBDDL\Db\Adapter\SQLiteAdapter;
use BBDDL\Db\Adapter\SqlServerAdapter;
class Wrapper{