diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-06-02 16:54:52 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-06-02 16:54:52 +0200 |
commit | 170746f99d7e0bea2eb08ccf6015fe0384d45b00 (patch) | |
tree | 660a19c8b1001f986e51f2a9692f4491231cded6 /migrations/20150119171459_init_database.php | |
parent | 51d9699fa130a18a1c5cd09d1b03a382d73e91db (diff) | |
download | wallabag-170746f99d7e0bea2eb08ccf6015fe0384d45b00.tar.gz wallabag-170746f99d7e0bea2eb08ccf6015fe0384d45b00.tar.zst wallabag-170746f99d7e0bea2eb08ccf6015fe0384d45b00.zip |
Remove phinx
Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update`
Diffstat (limited to 'migrations/20150119171459_init_database.php')
-rw-r--r-- | migrations/20150119171459_init_database.php | 22 |
1 files changed, 0 insertions, 22 deletions
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 | |||
3 | use Phinx\Migration\AbstractMigration; | ||
4 | |||
5 | class 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 | ||