1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 15:06:41 +07:00

#4 added duplicate check for wall_post_new

This commit is contained in:
Fedor Katurov 2021-05-04 14:58:39 +07:00
parent e73ab3cb4f
commit f75e3068a0
8 changed files with 75 additions and 16 deletions

View file

@ -5,16 +5,17 @@ import {
PrimaryGeneratedColumn,
UpdateDateColumn,
} from "typeorm";
import { StoredEvent } from "../../types";
import { VkEvent } from "../../../vk/types";
@Entity()
export class Event implements StoredEvent {
export class Event {
@PrimaryGeneratedColumn()
id: number;
@Column()
type: VkEvent;
@Column()
eventId: number;
@Column()
groupId: number;
@Column()
channel: string;