mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-10 19:17:03 +00:00
54ffd87e8e
* Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo. * Fixed migration ( but dirty lol )
27 lines
372 B
TypeScript
27 lines
372 B
TypeScript
import { Column, Entity} from "typeorm";
|
|
import { BaseClass } from "./BaseClass";
|
|
|
|
@Entity("client_release")
|
|
export class Release extends BaseClass {
|
|
@Column()
|
|
name: string;
|
|
|
|
@Column()
|
|
pub_date: string;
|
|
|
|
@Column()
|
|
url: string;
|
|
|
|
@Column()
|
|
deb_url: string;
|
|
|
|
@Column()
|
|
osx_url: string;
|
|
|
|
@Column()
|
|
win_url: string;
|
|
|
|
@Column({ nullable: true })
|
|
notes?: string;
|
|
}
|