parent
3a105024c7
commit
5dfbce7571
13 changed files with 60 additions and 4 deletions
|
|
@ -70,6 +70,12 @@ export class Channel {
|
|||
})
|
||||
public color: string;
|
||||
|
||||
@Index()
|
||||
@Column('boolean', {
|
||||
default: false,
|
||||
})
|
||||
public isArchived: boolean;
|
||||
|
||||
@Index()
|
||||
@Column('integer', {
|
||||
default: 0,
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ export const packedChannelSchema = {
|
|||
format: 'url',
|
||||
nullable: true, optional: false,
|
||||
},
|
||||
isArchived: {
|
||||
type: 'boolean',
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
notesCount: {
|
||||
type: 'number',
|
||||
nullable: false, optional: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue