I am attempting to model an existing MSSQL table in SailsJS. Unsurprisingly the tables in the existing database have a createdAt and updatedAt column similar to what is gene
You could remap the following way:
attributes: { createdAt: { type: 'datetime', columnName: 'cre_dt' }, updatedAt: { type: 'datetime', columnName: 'upd_dt' }, // your other columns }