fix: allow dynamic database schema access

This commit is contained in:
Thomas Camlong committed 2026-08-02 08:19:46 +02:00
1 parent c61695b142
commit 76974f676d
2 files changed
+2

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
/* eslint-disable import/namespace -- Schema tables are selected by validated typed keys. */
import type { InferInsertModel } from "drizzle-orm";
import { objectEntries } from "@homarr/common";
+1
View File
@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
/* eslint-disable import/namespace -- The test compares matching schema tables by their shared keys. */
import type { Column, InferSelectModel } from "drizzle-orm";
import type { ForeignKey as MysqlForeignKey, MySqlTableWithColumns } from "drizzle-orm/mysql-core";
import type { PgTableWithColumns, ForeignKey as PostgresqlForeignKey } from "drizzle-orm/pg-core";