feat: rename/relocate a profile's SQLite logbook (QSOs carried across)
"Choose a dedicated file" points at a fresh/empty file; there was no way to rename or move an existing logbook WITH its data. RenameLogbook VACUUM INTOs the active profile's SQLite logbook to a new path, repoints the profile and switches the live logbook (no restart). Deletes the old file only when it was a dedicated per-profile file; the shared default logbook.db is left for other profiles. Errors on a MySQL logbook. UI: "Rename / relocate…" button in the logbook section.
This commit is contained in:
Vendored
+2
@@ -746,6 +746,8 @@ export function RemovePassphrase(arg1:string):Promise<void>;
|
||||
|
||||
export function RenameDatabase(arg1:string):Promise<void>;
|
||||
|
||||
export function RenameLogbook(arg1:string):Promise<void>;
|
||||
|
||||
export function RenderEQSL(arg1:number,arg2:number):Promise<string>;
|
||||
|
||||
export function ReplaceAwardReferences(arg1:string,arg2:Array<awardref.Ref>):Promise<number>;
|
||||
|
||||
Reference in New Issue
Block a user