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;
/**
* User Metadata
*
* @package model
* @author Frederic Guillot
*/
class UserMetadata extends Metadata
{
/**
* SQL table name
*
* @var string
*/
const TABLE = 'user_has_metadata';
/**
* Define the entity key
*
* @access protected
* @return string
*/
protected function getEntityKey()
{
return 'user_id';
}
}