Skip to content

Commit

Permalink
Fix formatting in schema migrations and streamline DeleteDateColumn d…
Browse files Browse the repository at this point in the history
…ecorator in DatabaseBaseModel
  • Loading branch information
simlarsen committed Sep 24, 2024
1 parent 08d3bd5 commit 0afa4f4
Show file tree
Hide file tree
Showing 5 changed files with 1,889 additions and 718 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,9 @@ export default class DatabaseBaseModel extends BaseEntity {
type: TableColumnType.Date,
description: "Date and Time when the object was deleted.",
})
@DeleteDateColumn(
{
type: ColumnType.Date,
},
)
@DeleteDateColumn({
type: ColumnType.Date,
})
public deletedAt?: Date = undefined;

@TableColumn({
Expand Down
Loading

0 comments on commit 0afa4f4

Please sign in to comment.