fa14a5ca8cff8d2c28bdcf042b58ebf8c9d94d93
- GIN indexes on students/teachers (jsonb_path_ops) for fast user lookups - Composite index on clazz (is_repeat, start_from, end_by) for date range queries - Indexes on clazz_repeat (clazz_id, repeat_start, repeat_end) for joins Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
慧课 后端
☕️
🚧 本仓库不要提交大文件
🚧 本仓库请使用Pull Request的形式交代码
🚧 .env文件只对本地测试有效,部署时使用docker-compose.yml整体启动.
目录
htyws
web service,容器 ws,端口3000,对外不暴露
user-center
用户中心,容器 uc,端口3001,对外不暴露
htymusic
音乐教室小程序,容器名mr,端口8010:80
htycommons
run test:
$ print_debug=true cargo test -- --test-threads=1 --nocapture
postgres=# create user htyuc;
CREATE ROLE
postgres=# create user htyws;
CREATE ROLE
postgres=# create database htyuc_local owner htyuc encoding utf8;
CREATE DATABASE
postgres=# create database htyws_local owner htyws encoding utf8;
CREATE DATABASE
postgres=#
Description
Languages
Rust
96.6%
Shell
2.6%
PLpgSQL
0.7%
Dockerfile
0.1%