远程数据库信息

This commit is contained in:
Miyamizu-MitsuhaSang 2025-08-12 16:22:54 +08:00
parent 6a01fc2ab5
commit 3fb098c90c
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,13 @@
后续如果要将 Foreign Key 修改为 ManyToMany需要先保留当前 Key新建一个完成迁移后再删除
e.g.
entries = await WordEntry.all().prefetch_related("tag")
主机你的 Tailscale IP100.x.x.x
端口3306
用户名team_rw
密码Strong#Passw0rd!
数据库dict
"""
from tortoise.models import Model