diff options
Diffstat (limited to 'app/Model/ProjectMetadata.php')
-rw-r--r-- | app/Model/ProjectMetadata.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/app/Model/ProjectMetadata.php b/app/Model/ProjectMetadata.php index 256f5e1f..2b3aadf5 100644 --- a/app/Model/ProjectMetadata.php +++ b/app/Model/ProjectMetadata.php @@ -11,11 +11,16 @@ namespace Kanboard\Model; class ProjectMetadata extends Metadata { /** - * SQL table name + * Get the table * - * @var string + * @abstract + * @access protected + * @return string */ - const TABLE = 'project_has_metadata'; + protected function getTable() + { + return 'project_has_metadata'; + } /** * Define the entity key |