mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-25 18:41:05 +00:00
Remove phinx
Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update`
This commit is contained in:
parent
51d9699fa1
commit
170746f99d
4 changed files with 0 additions and 40 deletions
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
../vendor/robmorgan/phinx/bin/phinx
|
|
@ -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';");
|
||||
}
|
||||
}
|
17
phinx.yml
17
phinx.yml
|
@ -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
|
Loading…
Reference in a new issue