aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/migration/revert_with_dependency.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-01-10 13:52:11 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2013-01-10 13:52:11 -0600
commit00385aa742da17678f7d147b6d71fa759fcd7e78 (patch)
tree4207b223a6bd464e5ca85a1866ea14edbb50e956 /tests/dbal/migration/revert_with_dependency.php
parentddb1eaab6868cfac70b7b202468cab29315b794d (diff)
downloadforums-00385aa742da17678f7d147b6d71fa759fcd7e78.tar
forums-00385aa742da17678f7d147b6d71fa759fcd7e78.tar.gz
forums-00385aa742da17678f7d147b6d71fa759fcd7e78.tar.bz2
forums-00385aa742da17678f7d147b6d71fa759fcd7e78.tar.xz
forums-00385aa742da17678f7d147b6d71fa759fcd7e78.zip
[feature/migrations] Basic reverting test
PHPBB3-9737
Diffstat (limited to 'tests/dbal/migration/revert_with_dependency.php')
-rw-r--r--tests/dbal/migration/revert_with_dependency.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/dbal/migration/revert_with_dependency.php b/tests/dbal/migration/revert_with_dependency.php
new file mode 100644
index 0000000000..f6820dbf3f
--- /dev/null
+++ b/tests/dbal/migration/revert_with_dependency.php
@@ -0,0 +1,16 @@
+<?php
+/**
+*
+* @package testing
+* @copyright (c) 2011 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+class phpbb_dbal_migration_revert_with_dependency extends phpbb_db_migration
+{
+ function depends_on()
+ {
+ return array('phpbb_dbal_migration_revert');
+ }
+}