mirror of
https://github.com/thedrewen/protojx-manager.git
synced 2026-03-21 09:48:56 +01:00
feat(follow): implement follow command for service status notifications
refactor(data-source): update entity and migration paths for consistency fix(readme): update status feature notification system icon delete(guilds): remove unused Guild entity add(follow): create Follow entity for managing user notification preferences
This commit is contained in:
13
src/entity/follow.entity.ts
Normal file
13
src/entity/follow.entity.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
|
||||
|
||||
@Entity()
|
||||
export class Follow {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
@Column()
|
||||
user_discord: string;
|
||||
|
||||
@Column({default: false})
|
||||
enable: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user