数据库不存在则创建

This commit is contained in:
2026-08-10 10:19:50 +08:00
parent 5e4fc67a69
commit c268ae23c4
3 changed files with 1131 additions and 784 deletions
File diff suppressed because it is too large Load Diff
@@ -81,7 +81,7 @@ public:
void from_json(const Psc::JSON* that_json, bool not_exist_use_default_value);
[[nodiscard]] Psc::JSON to_base_json() const;
void server(Global* g);
void load_sqlite_db(std::string_view path);
void ensure_sqlite_db_loaded(std::string_view path);
std::vector<External_Resource_Status> refresh_external_databases(bool force_download = true);
External_Resource_Status refresh_external_database(std::string_view resource_name, bool force_download = true);
External_Resource_Status import_external_database(std::string_view resource_name,