Skip to content

Commit

Permalink
remove createdAt and updatedAt rows
Browse files Browse the repository at this point in the history
  • Loading branch information
A-K-O-R-A committed May 26, 2024
1 parent 709caaf commit 9925b91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/src/db/models/GraphNew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ GraphNew.init(
{
sequelize,
tableName: 'graph_new',
createdAt: false,
updatedAt: false,
timestamps: false,
// indexes: [{ unique: false, fields: ['timestamp'], name: 'Time' }],
},
);

GraphNew.removeAttribute('id');
GraphNew.removeAttribute('createdAt');
GraphNew.removeAttribute('updatedAt');

export default GraphNew;

Expand Down

0 comments on commit 9925b91

Please sign in to comment.