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