Skip to content

Commit

Permalink
add boolean check
Browse files Browse the repository at this point in the history
  • Loading branch information
aloccid-iata authored May 2, 2024
1 parent e97ba85 commit a5a2149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/import
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ const importTableConfigs = async (databaseName, tables, tablesDescription) => {
const columnName = row[0];
const columnType = row[1];
const propertyDescription = row[2];
const is_array = row[3];
const isArray = (row[3] === 'true');

tableConfig.columns.push({
name: columnName,
description: propertyDescription,
type: columnType,
array : is_array
array : isArray
});
});

Expand Down

0 comments on commit a5a2149

Please sign in to comment.