diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-06-08 16:35:02 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-06-08 16:35:02 +0200 |
commit | ac9d58211e1c6676485ef15d023215e5a465f3a8 (patch) | |
tree | 8b73ad50783cf8066ec4171367e2dd1e26026636 /migrations | |
parent | 82d6d9cb06a1486e2e3b05fa6ce857b3b8655180 (diff) | |
parent | 3cf22a05416b9994aa458ea045d232264006e7cf (diff) | |
download | wallabag-ac9d58211e1c6676485ef15d023215e5a465f3a8.tar.gz wallabag-ac9d58211e1c6676485ef15d023215e5a465f3a8.tar.zst wallabag-ac9d58211e1c6676485ef15d023215e5a465f3a8.zip |
Merge branch 'v2' into v2-edit-title
Diffstat (limited to 'migrations')
-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 | ||