Migrate the Laysense production snapshot to LaySite 1.3

This commit is contained in:
2026-11-26 00:26:48 +08:00
parent 250a67af94
commit 89f363186b
80 changed files with 491 additions and 29 deletions
+1 -1
View File
@@ -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)