]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/core.php
Add scope bitmap for notices
[quix0rs-gnu-social.git] / db / core.php
index 16a59462d491bd2f884f3c454858486185e86331..4881cc0fff5b792c67c113bfbef58483bd8d6a13 100644 (file)
@@ -202,6 +202,9 @@ $schema['notice'] = array(
         'location_ns' => array('type' => 'int', 'description' => 'namespace for location'),
         'repeat_of' => array('type' => 'int', 'description' => 'notice this is a repeat of'),
         'object_type' => array('type' => 'varchar', 'length' => 255, 'description' => 'URI representing activity streams object type', 'default' => 'http://activitystrea.ms/schema/1.0/note'),
+        'scope' => array('type' => 'int',
+                         'default' => '1',
+                         'description' => 'bit map for distribution scope; 0 = everywhere; 1 = this server only; 2 = addressees; 4 = followers'),
     ),
     'primary key' => array('id'),
     'unique keys' => array(