]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/OpenID/User_openid_trustroot.php
More info for a proper, fancy-url lighttpd setup
[quix0rs-gnu-social.git] / plugins / OpenID / User_openid_trustroot.php
1 <?php
2 /**
3  * Table Definition for user_openid_trustroot
4  */
5
6 if (!defined('STATUSNET')) {
7     exit(1);
8 }
9
10 class User_openid_trustroot extends Managed_DataObject
11 {
12     ###START_AUTOCODE
13     /* the code below is auto generated do not remove the above tag */
14
15     public $__table = 'user_openid_trustroot';                     // table name
16     public $trustroot;                         // varchar(255) primary_key not_null
17     public $user_id;                         // int(4)  primary_key not_null
18     public $created;                         // datetime()   not_null
19     public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
20
21     /* the code above is auto generated do not remove the tag below */
22     ###END_AUTOCODE
23
24     public static function schemaDef()
25     {
26         return array(
27             'fields' => array(
28                 'trustroot' => array('type' => 'varchar', 'not null' => true, 'length' => 255, 'description' => 'OpenID trustroot string'),
29                 'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'User ID for OpenID trustroot owner'),
30                 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
31                 'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
32             ),
33             'primary key' => array('trustroot', 'user_id'),
34         );
35     }
36 }