Add SelfGrantableRoles

This commit is contained in:
Dragory 2019-02-19 00:02:46 +02:00
parent 8cb382979b
commit 457d57fb8c
6 changed files with 368 additions and 5 deletions

View file

@ -0,0 +1,16 @@
import { Entity, Column, PrimaryColumn } from "typeorm";
@Entity("self_grantable_roles")
export class SelfGrantableRole {
@Column()
@PrimaryColumn()
id: number;
@Column() guild_id: string;
@Column() channel_id: string;
@Column() role_id: string;
@Column("simple-array") aliases: string[];
}