summary refs log tree commit diff
path: root/src/util/entities/EmbedCache.ts
blob: 14881ccf870671b41c83e2c606d445469a23e427 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { BaseClass } from "./BaseClass";
import { Entity, Column } from "typeorm";
import { Embed } from "./Message";

@Entity("embed_cache")
export class EmbedCache extends BaseClass {
	@Column()
	url: string;

	@Column({ type: "simple-json" })
	embed: Embed;
}