mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
Merge branch 'master' into refresh-tokens
This commit is contained in:
@@ -37,6 +37,10 @@ class Contact extends Model<Contact> {
|
||||
@Column
|
||||
profilePicUrl: string;
|
||||
|
||||
@Default(false)
|
||||
@Column
|
||||
isGroup: boolean;
|
||||
|
||||
@CreatedAt
|
||||
createdAt: Date;
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ import {
|
||||
HasMany,
|
||||
AutoIncrement,
|
||||
AfterFind,
|
||||
BeforeUpdate
|
||||
BeforeUpdate,
|
||||
Default
|
||||
} from "sequelize-typescript";
|
||||
|
||||
import Contact from "./Contact";
|
||||
@@ -35,6 +36,10 @@ class Ticket extends Model<Ticket> {
|
||||
@Column
|
||||
lastMessage: string;
|
||||
|
||||
@Default(false)
|
||||
@Column
|
||||
isGroup: boolean;
|
||||
|
||||
@CreatedAt
|
||||
createdAt: Date;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user