mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
1ead50c2cc
Summary: Ref T1191. Fills in some more of the databases. Nothing very notable here. I didn't encounter any issues or overlong keys. Test Plan: Used web UI to click around and verify expected schemata match up against actual schemata well. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T1191 Differential Revision: https://secure.phabricator.com/D10516
24 lines
520 B
PHP
24 lines
520 B
PHP
<?php
|
|
|
|
final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO {
|
|
|
|
protected $userPHID;
|
|
protected $token;
|
|
|
|
public function getConfiguration() {
|
|
return array(
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
'token' => 'text64?',
|
|
),
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
'userPHID' => array(
|
|
'columns' => array('userPHID'),
|
|
),
|
|
'token' => array(
|
|
'columns' => array('token'),
|
|
),
|
|
),
|
|
) + parent::getConfiguration();
|
|
}
|
|
|
|
}
|