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

@Entity("connection_config")
export class ConnectionConfigEntity extends BaseClassWithoutId {
	@PrimaryIdColumn()
	key: string;

	@Column({ type: "simple-json", nullable: true })
	value: number | boolean | null | string | Date | undefined;
}