File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88from astrbot .core .db .po import (
99 Attachment ,
10+ ChatUIProject ,
1011 CommandConfig ,
1112 CommandConflict ,
1213 ConversationV2 ,
1617 PlatformSession ,
1718 PlatformStat ,
1819 Preference ,
20+ SessionProjectRelation ,
1921)
2022from astrbot .core .knowledge_base .models import (
2123 KBDocument ,
4446 "preferences" : Preference ,
4547 "platform_message_history" : PlatformMessageHistory ,
4648 "platform_sessions" : PlatformSession ,
49+ "chatui_projects" : ChatUIProject ,
50+ "session_project_relations" : SessionProjectRelation ,
4751 "attachments" : Attachment ,
4852 "command_configs" : CommandConfig ,
4953 "command_conflicts" : CommandConflict ,
Original file line number Diff line number Diff line change 1717)
1818from astrbot .core .backup .exporter import AstrBotExporter
1919from astrbot .core .backup .importer import (
20- DatabaseClearError ,
2120 PLATFORM_STATS_INVALID_COUNT_WARN_LIMIT ,
2221 AstrBotImporter ,
22+ DatabaseClearError ,
2323 ImportResult ,
2424 _get_major_version ,
2525)
@@ -1017,6 +1017,8 @@ def test_main_db_models_contain_expected_tables(self):
10171017 "conversations" ,
10181018 "personas" ,
10191019 "preferences" ,
1020+ "chatui_projects" ,
1021+ "session_project_relations" ,
10201022 "attachments" ,
10211023 ]
10221024 for table in expected_tables :
You can’t perform that action at this time.
0 commit comments