refactor: retire legacy tinode database routing

This commit is contained in:
richjohnrambo
2026-09-23 17:04:30 +08:00
parent 204043382c
commit aa9f562e1e
19 changed files with 294 additions and 744 deletions
+6 -6
View File
@@ -5,21 +5,21 @@
"use_adapter": "mysql",
"adapters": {
"postgres": {
"database": "tinode",
"dsn": "postgresql://postgres:postgres@localhost:5432/tinode?sslmode=disable"
"database": "meeting_im",
"dsn": "postgresql://postgres:postgres@localhost:5432/meeting_im?sslmode=disable"
},
"mysql": {
"database": "tinode",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(mysql.118im.com:30306)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci",
"database": "meeting_im",
"dsn": "mysql://root:oWxz*2=sb),ouW%p@tcp(mysql.118im.com:30306)/meeting_im?parseTime=true&collation=utf8mb4_0900_ai_ci",
"tenant_registry_db": "hotgo",
"tenant_db_routing": true
},
"rethinkdb": {
"database": "tinode",
"database": "meeting_im",
"addresses": "localhost:28015"
},
"mongodb": {
"database": "tinode",
"database": "meeting_im",
"addresses": "localhost:27017",
//"replica_set": "rs0",
//"auth_source": "admin",