From aafd4733ba094572a9098bef23b0df26f821f167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 29 Nov 2007 11:49:34 +0000 Subject: #193105 by dmitrig01, quicksketch: add weights and drag and drop ordering support to uploads --- modules/system/system.install | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/system') diff --git a/modules/system/system.install b/modules/system/system.install index 7e48a8c7e..5e21c21ba 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2722,6 +2722,14 @@ function system_update_6039() { return $ret; } +/** + * Add a weight column to the upload table. + */ +function system_update_6040() { + $ret = array(); + db_add_field($ret, 'upload', 'weight', array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny')); + return $ret; +} /** * @} End of "defgroup updates-5.x-to-6.x" -- cgit v1.2.3