Add metadata for users, tasks and projects
This commit is contained in:
30
app/Model/TaskMetadata.php
Normal file
30
app/Model/TaskMetadata.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace Kanboard\Model;
|
||||
|
||||
/**
|
||||
* Task Metadata
|
||||
*
|
||||
* @package model
|
||||
* @author Frederic Guillot
|
||||
*/
|
||||
class TaskMetadata extends Metadata
|
||||
{
|
||||
/**
|
||||
* SQL table name
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const TABLE = 'task_has_metadata';
|
||||
|
||||
/**
|
||||
* Define the entity key
|
||||
*
|
||||
* @access protected
|
||||
* @return string
|
||||
*/
|
||||
protected function getEntityKey()
|
||||
{
|
||||
return 'task_id';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user