aboutsummaryrefslogtreecommitdiff
path: root/muamba.install
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-24 20:42:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-24 20:42:57 -0300
commit5cd0054058a718e5694c8542f72f586f06b69fc8 (patch)
tree25c384738c580bd5e9b05a0943be1e79b82dce9d /muamba.install
parent4f15de058dc6dadee6e79d16b441202b54161f02 (diff)
downloadmuamba-5cd0054058a718e5694c8542f72f586f06b69fc8.tar.gz
muamba-5cd0054058a718e5694c8542f72f586f06b69fc8.tar.bz2
Basic working code for an item request
Diffstat (limited to 'muamba.install')
-rw-r--r--muamba.install13
1 files changed, 12 insertions, 1 deletions
diff --git a/muamba.install b/muamba.install
index e6b3ead..4d2ba42 100644
--- a/muamba.install
+++ b/muamba.install
@@ -89,7 +89,6 @@ function muamba_update_7000(&$sandbox) {
array(
'description' => t('The primary identifier for a muamba transaction.'),
'type' => 'int',
- 'unsigned' => TRUE,
'not null' => TRUE,
)
);
@@ -124,3 +123,15 @@ function muamba_update_7000(&$sandbox) {
)
);
}
+
+/**
+ * Adds autoincrement to mid field.
+ */
+function muamba_update_7001(&$sandbox) {
+ db_change_field('muamba', 'mid', 'mid',
+ array(
+ 'type' => 'serial',
+ 'not null' => TRUE,
+ )
+ );
+}