drizzle-graphql-plus 0.8.23 → 0.8.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -2309,7 +2309,7 @@ var generateTypes = (db, schema) => {
2309
2309
  for (const [key, value] of schemaEntries) {
2310
2310
  if (value && typeof value === "object" && "getSQL" in value) {
2311
2311
  const table = value;
2312
- const tableName = (0, import_drizzle_orm8.getTableName)(table);
2312
+ const tableName = key;
2313
2313
  const columns = (0, import_drizzle_orm8.getTableColumns)(table);
2314
2314
  tables[tableName] = {
2315
2315
  name: tableName,