summaryrefslogtreecommitdiff
path: root/app/Model/TaskMetadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/TaskMetadata.php')
-rw-r--r--app/Model/TaskMetadata.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/Model/TaskMetadata.php b/app/Model/TaskMetadata.php
index 1fd18415..d9d024bf 100644
--- a/app/Model/TaskMetadata.php
+++ b/app/Model/TaskMetadata.php
@@ -11,11 +11,16 @@ namespace Kanboard\Model;
class TaskMetadata extends Metadata
{
/**
- * SQL table name
+ * Get the table
*
- * @var string
+ * @abstract
+ * @access protected
+ * @return string
*/
- const TABLE = 'task_has_metadata';
+ protected function getTable()
+ {
+ return 'task_has_metadata';
+ }
/**
* Define the entity key