]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Irc/Irc_waiting_message.php
Woops, forgot auto_increment (comes with 'serial')
[quix0rs-gnu-social.git] / plugins / Irc / Irc_waiting_message.php
index df7db05b585e6f734a134f4c65315f9a10fec43a..eefd9049855df6cd3edca76be5ef2f745d1d04c0 100644 (file)
@@ -20,7 +20,7 @@ class Irc_waiting_message extends Managed_DataObject {
     {\r
         return array(\r
             'fields' => array(\r
-                'id' => array('type' => 'int', 'not null' => true, 'description' => 'Unique ID for entry'),\r
+                'id' => array('type' => 'serial', 'not null' => true, 'description' => 'Unique ID for entry'),\r
                 'data' => array('type' => 'blob', 'not null' => true, 'description' => 'data blob'),\r
                 'prioritise' => array('type' => 'int', 'size' => 'tiny', 'description' => 'tinyint priority value'),\r
                 'attempts' => array('type' => 'int', 'not null' => true, 'description' => 'attempts count'),\r