Add metadata for users, tasks and projects

This commit is contained in:
Frederic Guillot
2015-10-17 15:27:43 -04:00
parent 9153c6ff0d
commit 9283fb88d8
15 changed files with 553 additions and 56 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Kanboard\Model;
/**
* Project Metadata
*
* @package model
* @author Frederic Guillot
*/
class ProjectMetadata extends Metadata
{
/**
* SQL table name
*
* @var string
*/
const TABLE = 'project_has_metadata';
/**
* Define the entity key
*
* @access protected
* @return string
*/
protected function getEntityKey()
{
return 'project_id';
}
}