服务启动

This commit is contained in:
2025-12-05 15:34:02 +08:00
parent ab8be1a832
commit a8233ceb72
55 changed files with 2886 additions and 494 deletions

View File

@@ -1,11 +1,11 @@
-- 删除已存在的数据库(如果存在)
DROP DATABASE IF EXISTS urban-lifeline;
DROP DATABASE IF EXISTS urban_lifeline;
-- 创建新数据库,使用 UTF8 编码,并设置适合中文的排序规则
-- 使用 template0 确保干净的数据库模板
-- zh_CN.UTF-8 支持中文字符排序和比较
CREATE DATABASE urban-lifeline
CREATE DATABASE urban_lifeline
ENCODING 'UTF8'
TEMPLATE template0
LC_COLLATE 'zh_CN.UTF-8'