summaryrefslogtreecommitdiff
path: root/database/updates.inc
diff options
context:
space:
mode:
Diffstat (limited to 'database/updates.inc')
-rw-r--r--database/updates.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc
index f6027f786..bb73e7235 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -45,7 +45,8 @@ $sql_updates = array(
"2005-08-08" => "update_144",
"2005-08-15" => "update_145",
"2005-08-25" => "update_146",
- "2005-09-07" => "update_147"
+ "2005-09-07" => "update_147",
+ "2005-09-12" => "update_148"
);
function update_110() {
@@ -790,6 +791,14 @@ function update_147() {
return $ret;
}
+function update_148() {
+ $ret = array();
+
+ $ret[] = update_sql('ALTER TABLE {blocks} ADD PRIMARY KEY (module, delta)');
+
+ return $ret;
+}
+
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);