--- flag_weights.install	2010-12-31 18:04:47.964106242 +0100
+++ flag_weights.linksunten.install	2010-12-31 03:22:44.000000000 +0100
@@ -16,8 +16,9 @@ function flag_weights_install() {
   $field = array(
     'type' => 'int',
     'not null' => TRUE,
-    'default' => 0,
-    'size' => 'tiny',
+    'default' => '0',
+    'length' => '10',
+    'unsigned' => FALSE,
     'initial' => 0, // Sets initial value for preexisting nodes.
     // 'description' => t('Flag weight within region.'),
   );
@@ -28,8 +29,9 @@ function flag_weights_install() {
   $field = array(
      'type' => 'int',
      'not null' => TRUE,
-     'default' => 0,
-     'size' => 'tiny',
+     'default' => '0',
+     'length' => '10',
+     'unsigned' => FALSE,
      'initial' => 0, // Sets initial value for preexisting nodes.
      'description' => t('Default weight applied to new items.'),
    );
@@ -47,8 +49,9 @@ function flag_weights_update_6000() {
   $field = array(
      'type' => 'int',
      'not null' => TRUE,
-     'default' => 0,
-     'size' => 'tiny',
+     'default' => '0',
+     'length' => '10',
+     'unsigned' => FALSE,
      'initial' => 0, // Sets initial value for preexisting nodes.
      'description' => t('Default weight applied to new items.'),
    );
