Migrate the Laysense production snapshot to LaySite 1.3
This commit is contained in:
@@ -10,7 +10,7 @@ use RuntimeException;
|
||||
final class Repository
|
||||
{
|
||||
public const DIRECTORIES = [
|
||||
'catalog' => '目录', 'projects' => '项目', 'partners' => '合作伙伴',
|
||||
'services' => '产品与服务', 'supported-projects' => '来笙支持项目', 'partners' => '来笙合作伙伴',
|
||||
];
|
||||
public const CATEGORIES = ['announcement' => '公告', 'news' => '新闻', 'product' => '产品'] + self::DIRECTORIES;
|
||||
private const ARTICLE_FIELDS = 'articles.*, (SELECT json_group_object(c.slug, c.name)
|
||||
|
||||
Reference in New Issue
Block a user