From 170746f99d7e0bea2eb08ccf6015fe0384d45b00 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 2 Jun 2015 16:54:52 +0200 Subject: Remove phinx Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update` --- app/db/poche.sqlite | Bin 393216 -> 0 bytes bin/phinx | 1 - migrations/20150119171459_init_database.php | 22 ---------------------- phinx.yml | 17 ----------------- 4 files changed, 40 deletions(-) delete mode 100755 app/db/poche.sqlite delete mode 120000 bin/phinx delete mode 100644 migrations/20150119171459_init_database.php delete mode 100644 phinx.yml 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 -- cgit v1.2.3