Skip to content

Commit

Permalink
Update oracledb.ts (directus#5327)
Browse files Browse the repository at this point in the history
As defined by Oracle, NULLABLE should return "Y" or "N":

https://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_2094.htm
  • Loading branch information
aidenfoxx authored Apr 28, 2021
1 parent 57208d7 commit dc973d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/dialects/oracledb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class Oracle extends KnexOracle implements SchemaInspector {

overview[column.table_name].columns[column.column_name] = {
...column,
is_nullable: column.is_nullable === 'YES',
is_nullable: column.is_nullable === 'Y',
};
}

Expand Down

0 comments on commit dc973d3

Please sign in to comment.