12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- if (!defined('STATUSNET')) {
- exit(1);
- }
- class User_openid_trustroot extends Managed_DataObject
- {
-
-
- public $__table = 'user_openid_trustroot';
- public $trustroot;
- public $user_id;
- public $created;
- public $modified;
-
-
- public static function schemaDef()
- {
- return array(
- 'fields' => array(
- 'trustroot' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'OpenID trustroot string'),
- 'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'User ID for OpenID trustroot owner'),
- 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
- 'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
- ),
- 'primary key' => array('trustroot', 'user_id'),
- );
- }
- }
|