diff options
Diffstat (limited to 'app/Model/ProjectMetadata.php')
-rw-r--r-- | app/Model/ProjectMetadata.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/Model/ProjectMetadata.php b/app/Model/ProjectMetadata.php new file mode 100644 index 00000000..85498053 --- /dev/null +++ b/app/Model/ProjectMetadata.php @@ -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'; + } +} |