temp: whitelist unused table defintion since I'm doing step-wise changes

This commit is contained in:
Matthew Raymer
2025-08-31 03:50:06 +00:00
parent d2e04fe2a0
commit 971bc68a74

View File

@@ -58,6 +58,7 @@ import {
generateInsertStatement, generateInsertStatement,
generateUpdateStatement, generateUpdateStatement,
} from "@/utils/sqlHelpers"; } from "@/utils/sqlHelpers";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { ActiveIdentity } from "@/db/tables/activeIdentity"; import { ActiveIdentity } from "@/db/tables/activeIdentity";
// ================================================= // =================================================
@@ -566,7 +567,7 @@ export const PlatformServiceMixin = {
if (activeDid) { if (activeDid) {
const accountExists = await this.$dbQuery( const accountExists = await this.$dbQuery(
"SELECT did FROM accounts WHERE did = ?", "SELECT did FROM accounts WHERE did = ?",
[activeDid] [activeDid],
); );
if (accountExists?.values?.length) { if (accountExists?.values?.length) {
@@ -574,7 +575,7 @@ export const PlatformServiceMixin = {
} else { } else {
// Clear corrupted activeDid // Clear corrupted activeDid
await this.$dbExec( await this.$dbExec(
"UPDATE active_identity SET activeDid = '', lastUpdated = datetime('now') WHERE id = 1" "UPDATE active_identity SET activeDid = '', lastUpdated = datetime('now') WHERE id = 1",
); );
return { activeDid: "" }; return { activeDid: "" };
} }