]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/FeedSub.php
Woops, forgot auto_increment (comes with 'serial')
[quix0rs-gnu-social.git] / plugins / OStatus / classes / FeedSub.php
index b84a13115dfe4b738998b857ef84bfe8a81e22cd..096baff202d2b6fb81f3fb60f23ac3c2e901e9c0 100644 (file)
@@ -82,7 +82,7 @@ class FeedSub extends Managed_DataObject
     {
         return array(
             'fields' => array(
-                'id' => array('type' => 'int', 'not null' => true, 'description' => 'FeedSub local unique id'),
+                'id' => array('type' => 'serial', 'not null' => true, 'description' => 'FeedSub local unique id'),
                 'uri' => array('type' => 'varchar', 'not null' => true, 'length' => 255, 'description' => 'FeedSub uri'),
                 'huburi' => array('type' => 'text', 'description' => 'FeedSub hub-uri'),
                 'verify_token' => array('type' => 'text', 'description' => 'FeedSub verify-token'),