aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/migration.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-10-25 12:26:44 -0700
committerNathan Guse <nathaniel.guse@gmail.com>2013-01-09 16:40:00 -0600
commit8645321f40d0b13de6201688c69f9f05bc649dcf (patch)
tree85d5634ba94c89dda2fb33ad5c1d1c365365c253 /phpBB/includes/db/migration.php
parentd304b6449db6e7c6f3c9058062aca0c641f023a4 (diff)
downloadforums-8645321f40d0b13de6201688c69f9f05bc649dcf.tar
forums-8645321f40d0b13de6201688c69f9f05bc649dcf.tar.gz
forums-8645321f40d0b13de6201688c69f9f05bc649dcf.tar.bz2
forums-8645321f40d0b13de6201688c69f9f05bc649dcf.tar.xz
forums-8645321f40d0b13de6201688c69f9f05bc649dcf.zip
[feature/migrations] Return schema changes in database update style array
Returning the set of schema changes allows potentially aggregating to generate the overall install schema automatically from a set of migrations PHPBB3-9737
Diffstat (limited to 'phpBB/includes/db/migration.php')
-rw-r--r--phpBB/includes/db/migration.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/db/migration.php b/phpBB/includes/db/migration.php
index f96fcb9568..ee916aedc0 100644
--- a/phpBB/includes/db/migration.php
+++ b/phpBB/includes/db/migration.php
@@ -52,12 +52,13 @@ class phpbb_db_migration
}
/**
- * Updates the database schema
+ * Updates the database schema by providing a set of change instructions
*
- * @return null
+ * @return array
*/
function update_schema()
{
+ return array();
}
/**