aboutsummaryrefslogtreecommitdiff
path: root/muamba.install
diff options
context:
space:
mode:
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,
+ )
+ );
+}