aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/update.php b/update.php
index 5ae473be6..1fe58486b 100644
--- a/update.php
+++ b/update.php
@@ -18,3 +18,7 @@ function update_1001() {
q("ALTER TABLE `item` ADD `wall` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `type` ");
q("ALTER TABLE `item` ADD INDEX ( `wall` )");
}
+
+function update_1002() {
+ q("ALTER TABLE `item` ADD `gravity` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `wall` ");
+}