When creating a table, created_at should not be a nullable since it defaults to now() function.

This commit is contained in:
Ivan Vasilov committed 2023-08-03 11:36:47 +02:00
1 parent 521b8b63a0
commit be71680792
1 file changed
+1 -1
@@ -24,7 +24,7 @@ export const DEFAULT_COLUMNS: ColumnField[] = [
defaultValue: 'now()',
check: null,
foreignKey: undefined,
isNullable: true,
isNullable: false,
isUnique: false,
isArray: false,
isPrimaryKey: false,