drizzle-graphql-plus 0.8.18 → 0.8.19

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
@@ -2291,7 +2291,7 @@ var columnToSDL = (column, columnName, tableName, forceNullable = false) => {
2291
2291
  break;
2292
2292
  }
2293
2293
  }
2294
- if (!forceNullable && column.notNull && !column.hasDefault && !column.defaultFn) {
2294
+ if (!forceNullable && column.notNull) {
2295
2295
  return `${baseType}!`;
2296
2296
  }
2297
2297
  return baseType;