Skip to content

Commit

Permalink
Merge pull request #17 from waterfoul/datetime
Browse files Browse the repository at this point in the history
fixing datetime support
  • Loading branch information
waterfoul authored Jul 8, 2016
2 parents c0e81ea + c795fae commit 1c381b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node/DataObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ export abstract class DataConnection<T extends DataContract> implements IDataCon
type: sequelize.BIGINT
};
break;
case Types.dateTimeTz:
model[fieldName] = {
type: sequelize.DATE
};
break;
default:
logger.error('Field of unknown type found!', {
fieldName: fieldName,
Expand Down

0 comments on commit 1c381b6

Please sign in to comment.