看板初始化提交

This commit is contained in:
zephyr
2026-06-01 21:23:12 -07:00
commit 27411ebedc
1827 changed files with 192340 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
<?php
namespace Kanboard\Model;
/**
* User Metadata
*
* @package Kanboard\Model
* @author Frederic Guillot
*/
class UserMetadataModel extends MetadataModel
{
const KEY_COMMENT_SORTING_DIRECTION = 'comment.sorting.direction';
const KEY_BOARD_COLLAPSED = 'board.collapsed.';
/**
* Get the table
*
* @abstract
* @access protected
* @return string
*/
protected function getTable()
{
return 'user_has_metadata';
}
/**
* Define the entity key
*
* @access protected
* @return string
*/
protected function getEntityKey()
{
return 'user_id';
}
}