aboutsummaryrefslogtreecommitdiffhomepage
path: root/migrations
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-06-03 21:24:11 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-06-03 21:24:11 +0200
commit3cf22a05416b9994aa458ea045d232264006e7cf (patch)
treef1ef00c22a8991b504d2f9d0813c823e9c98f7b1 /migrations
parent51d9699fa130a18a1c5cd09d1b03a382d73e91db (diff)
parent75e9d1df03831a3dc1f92b0ef713c5e2f90fa543 (diff)
downloadwallabag-3cf22a05416b9994aa458ea045d232264006e7cf.tar.gz
wallabag-3cf22a05416b9994aa458ea045d232264006e7cf.tar.zst
wallabag-3cf22a05416b9994aa458ea045d232264006e7cf.zip
Merge pull request #1206 from wallabag/sf-2.7
Upgrade to Symfony 2.7
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20150119171459_init_database.php22
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
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