mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
feat: start delete whatsapp messages backend
This commit is contained in:
@@ -6,7 +6,6 @@ import {
|
||||
Model,
|
||||
DataType,
|
||||
PrimaryKey,
|
||||
AutoIncrement,
|
||||
Default,
|
||||
BelongsTo,
|
||||
ForeignKey
|
||||
@@ -47,6 +46,10 @@ class Message extends Model<Message> {
|
||||
@Column
|
||||
mediaType: string;
|
||||
|
||||
@Default(false)
|
||||
@Column
|
||||
isDeleted: boolean;
|
||||
|
||||
@CreatedAt
|
||||
@Column(DataType.DATE(6))
|
||||
createdAt: Date;
|
||||
|
||||
Reference in New Issue
Block a user