aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-06-02 16:54:52 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-06-02 16:54:52 +0200
commit170746f99d7e0bea2eb08ccf6015fe0384d45b00 (patch)
tree660a19c8b1001f986e51f2a9692f4491231cded6
parent51d9699fa130a18a1c5cd09d1b03a382d73e91db (diff)
downloadwallabag-170746f99d7e0bea2eb08ccf6015fe0384d45b00.tar.gz
wallabag-170746f99d7e0bea2eb08ccf6015fe0384d45b00.tar.zst
wallabag-170746f99d7e0bea2eb08ccf6015fe0384d45b00.zip
Remove phinx
Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update`
-rwxr-xr-xapp/db/poche.sqlitebin393216 -> 0 bytes
l---------bin/phinx1
-rw-r--r--migrations/20150119171459_init_database.php22
-rw-r--r--phinx.yml17
4 files changed, 0 insertions, 40 deletions
diff --git a/app/db/poche.sqlite b/app/db/poche.sqlite
deleted file mode 100755
index 7ae35dd6..00000000
--- a/app/db/poche.sqlite
+++ /dev/null
Binary files differ
diff --git a/bin/phinx b/bin/phinx
deleted file mode 120000
index e78f316d..00000000
--- a/bin/phinx
+++ /dev/null
@@ -1 +0,0 @@
1../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 @@
1<?php
2
3use Phinx\Migration\AbstractMigration;
4
5class InitDatabase extends AbstractMigration
6{
7 /**
8 * Migrate Up.
9 */
10 public function up()
11 {
12 $this->execute("INSERT INTO config (name, value) VALUES ('foo', 'bar');");
13 }
14
15 /**
16 * Migrate Down.
17 */
18 public function down()
19 {
20 $this->execute("DELETE FROM config WHERE name = 'foo' AND value = 'bar';");
21 }
22} \ 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 @@
1paths:
2 migrations: %%PHINX_CONFIG_DIR%%/migrations
3
4environments:
5 default_migration_table: phinxlog
6 default_database: development
7 production:
8 adapter: sqlite
9 name: app/db/poche
10
11 development:
12 adapter: sqlite
13 name: app/db/poche
14
15 testing:
16 adapter: sqlite
17 name: app/db/poche