From: Jeremy Benoist Date: Tue, 2 Jun 2015 14:54:52 +0000 (+0200) Subject: Remove phinx X-Git-Tag: 2.0.0-alpha.0~63^2~1 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=170746f99d7e0bea2eb08ccf6015fe0384d45b00 Remove phinx Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update` --- diff --git a/app/db/poche.sqlite b/app/db/poche.sqlite deleted file mode 100755 index 7ae35dd6..00000000 Binary files a/app/db/poche.sqlite and /dev/null differ diff --git a/bin/phinx b/bin/phinx deleted file mode 120000 index e78f316d..00000000 --- a/bin/phinx +++ /dev/null @@ -1 +0,0 @@ -../vendor/robmorgan/phinx/bin/phinx \ No newline at end of file diff --git a/migrations/20150119171459_init_database.php b/migrations/20150119171459_init_database.php deleted file mode 100644 index 35fc9e07..00000000 --- a/migrations/20150119171459_init_database.php +++ /dev/null @@ -1,22 +0,0 @@ -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';"); - } -} \ No newline at end of file diff --git a/phinx.yml b/phinx.yml deleted file mode 100644 index 26869443..00000000 --- a/phinx.yml +++ /dev/null @@ -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