summaryrefslogtreecommitdiff
path: root/app/Model/UserMetadata.php
blob: 411837bd6ee791539dd9e161f28b8617505aab28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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';
    }
}