1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/project/storage/PhabricatorProjectSlug.php

26 lines
552 B
PHP
Raw Normal View History

<?php
final class PhabricatorProjectSlug extends PhabricatorProjectDAO {
protected $slug;
protected $projectPHID;
protected function getConfiguration() {
return array(
self::CONFIG_COLUMN_SCHEMA => array(
'slug' => 'text128',
),
self::CONFIG_KEY_SCHEMA => array(
'key_slug' => array(
'columns' => array('slug'),
'unique' => true,
),
'key_projectPHID' => array(
'columns' => array('projectPHID'),
),
),
) + parent::getConfiguration();
}
}