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