diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-24 20:42:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-24 20:42:57 -0300 |
commit | 5cd0054058a718e5694c8542f72f586f06b69fc8 (patch) | |
tree | 25c384738c580bd5e9b05a0943be1e79b82dce9d /muamba.install | |
parent | 4f15de058dc6dadee6e79d16b441202b54161f02 (diff) | |
download | muamba-5cd0054058a718e5694c8542f72f586f06b69fc8.tar.gz muamba-5cd0054058a718e5694c8542f72f586f06b69fc8.tar.bz2 |
Basic working code for an item request
Diffstat (limited to 'muamba.install')
-rw-r--r-- | muamba.install | 13 |
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, + ) + ); +} |