3 * Data class for unavailable status networks
9 * @author Evan Prodromou <evan@status.net>
10 * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
11 * @link http://status.net/
13 * StatusNet - the distributed open-source microblogging tool
14 * Copyright (C) 2011, StatusNet, Inc.
16 * This program is free software: you can redistribute it and/or modify
17 * it under the terms of the GNU Affero General Public License as published by
18 * the Free Software Foundation, either version 3 of the License, or
19 * (at your option) any later version.
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU Affero General Public License for more details.
26 * You should have received a copy of the GNU Affero General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
30 if (!defined('STATUSNET')) {
35 * Keeps a list of unavailable status network names
39 * @author Evan Prodromou <evan@status.net>
40 * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
41 * @link http://status.net/
43 * @see Managed_DataObject
46 class Unavailable_status_network extends Managed_DataObject
48 public $__table = 'unavailable_status_network'; // table name
50 public $nickname; // varchar(64) UUID
51 public $created; // datetime
54 * The One True Thingy that must be defined and declared.
56 public static function schemaDef()
59 'description' => 'An unavailable status network nickname',
61 'nickname' => array('type' => 'varchar',
63 'not null' => true, 'description' => 'nickname not to use'),
64 'created' => array('type' => 'datetime',
67 'primary key' => array('nickname'),