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'); require('vendor/autoload.php');
use DDLWrapper\Wrapper as Wrapper; use BBDDL\Wrapper as Wrapper;
$pdo = new \PDO('sqlite:database.sqlite3'); $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", "description": "From Phinx, just the DDL",
"type": "library", "type": "library",
"authors": [ "authors": [
@@ -11,7 +11,7 @@
"require": {}, "require": {},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"DDLWrapper\\": "src/DDLWrapper" "BBDDL\\": "src/BBDDL"
} }
} }
} }
+2 -2
View File
@@ -26,9 +26,9 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Migration * @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. * Adapter factory and registry.
+6 -6
View File
@@ -26,13 +26,13 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
//use DDLWrapper\Migration\MigrationInterface; //use BBDDL\Migration\MigrationInterface;
/** /**
* Adapter Interface. * Adapter Interface.
+6 -6
View File
@@ -26,13 +26,13 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
use DDLWrapper\Migration\MigrationInterface; use BBDDL\Migration\MigrationInterface;
/** /**
* Adapter Wrapper. * Adapter Wrapper.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
/** /**
* Phinx MySQL Adapter. * Phinx MySQL Adapter.
+3 -3
View File
@@ -26,10 +26,10 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
/** /**
* Phinx PDO Adapter. * Phinx PDO Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
class PostgresAdapter extends PdoAdapter implements AdapterInterface class PostgresAdapter extends PdoAdapter implements AdapterInterface
{ {
+6 -6
View File
@@ -26,13 +26,13 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
//use DDLWrapper\Migration\IrreversibleMigrationException; //use BBDDL\Migration\IrreversibleMigrationException;
/** /**
* Phinx Proxy Adapter. * Phinx Proxy Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
/** /**
* Phinx SQLite Adapter. * Phinx SQLite Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
/** /**
* Phinx SqlServer Adapter. * Phinx SqlServer Adapter.
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
/** /**
* Table prefix/suffix adapter. * Table prefix/suffix adapter.
+1 -1
View File
@@ -26,7 +26,7 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db\Adapter * @subpackage Phinx\Db\Adapter
*/ */
namespace DDLWrapper\Db\Adapter; namespace BBDDL\Db\Adapter;
/** /**
* Wrapper Interface. * Wrapper Interface.
Regular → Executable
+5 -5
View File
@@ -26,12 +26,12 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db * @subpackage Phinx\Db
*/ */
namespace DDLWrapper\Db; namespace BBDDL\Db;
use DDLWrapper\Db\Table\Column; use BBDDL\Db\Table\Column;
use DDLWrapper\Db\Table\Index; use BBDDL\Db\Table\Index;
use DDLWrapper\Db\Table\ForeignKey; use BBDDL\Db\Table\ForeignKey;
use DDLWrapper\Db\Adapter\AdapterInterface; use BBDDL\Db\Adapter\AdapterInterface;
/** /**
* *
+1 -1
View File
@@ -26,7 +26,7 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db * @subpackage Phinx\Db
*/ */
namespace DDLWrapper\Db\Table; namespace BBDDL\Db\Table;
/** /**
* *
+2 -2
View File
@@ -27,9 +27,9 @@
* @subpackage Phinx\Db * @subpackage Phinx\Db
* @author Leonid Kuzmin <lndkuzmin@gmail.com> * @author Leonid Kuzmin <lndkuzmin@gmail.com>
*/ */
namespace DDLWrapper\Db\Table; namespace BBDDL\Db\Table;
use DDLWrapper\Db\Table; use BBDDL\Db\Table;
class ForeignKey class ForeignKey
{ {
+1 -1
View File
@@ -26,7 +26,7 @@
* @package Phinx * @package Phinx
* @subpackage Phinx\Db * @subpackage Phinx\Db
*/ */
namespace DDLWrapper\Db\Table; namespace BBDDL\Db\Table;
class Index class Index
{ {
Regular → Executable
+6 -6
View File
@@ -1,13 +1,13 @@
<?php <?php
namespace DDLWrapper; namespace BBDDL;
use DDLWrapper\Db\Table as Table; use BBDDL\Db\Table as Table;
use DDLWrapper\Db\Adapter\PostgresAdapter; use BBDDL\Db\Adapter\PostgresAdapter;
use DDLWrapper\Db\Adapter\MysqlAdapter; use BBDDL\Db\Adapter\MysqlAdapter;
use DDLWrapper\Db\Adapter\SQLiteAdapter; use BBDDL\Db\Adapter\SQLiteAdapter;
use DDLWrapper\Db\Adapter\SqlServerAdapter; use BBDDL\Db\Adapter\SqlServerAdapter;
class Wrapper{ class Wrapper{