Remove phinx

Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update`
This commit is contained in:
Jeremy Benoist 2015-06-02 16:54:52 +02:00
parent 51d9699fa1
commit 170746f99d
4 changed files with 0 additions and 40 deletions

Binary file not shown.

View file

@ -1 +0,0 @@
../vendor/robmorgan/phinx/bin/phinx

View file

@ -1,22 +0,0 @@
<?php
use Phinx\Migration\AbstractMigration;
class InitDatabase extends AbstractMigration
{
/**
* Migrate Up.
*/
public function up()
{
$this->execute("INSERT INTO config (name, value) VALUES ('foo', 'bar');");
}
/**
* Migrate Down.
*/
public function down()
{
$this->execute("DELETE FROM config WHERE name = 'foo' AND value = 'bar';");
}
}

View file

@ -1,17 +0,0 @@
paths:
migrations: %%PHINX_CONFIG_DIR%%/migrations
environments:
default_migration_table: phinxlog
default_database: development
production:
adapter: sqlite
name: app/db/poche
development:
adapter: sqlite
name: app/db/poche
testing:
adapter: sqlite
name: app/db/poche