summary refs log tree commit diff
path: root/util/src/entities/ClientRelease.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-31 01:21:40 +1100
committerGitHub <noreply@github.com>2022-03-30 17:21:40 +0300
commit40f08ed76c35daea8a1e743d2076e27ea4d7e40f (patch)
tree3c4c6d6d66a11fe25382edb9682f0ecdc1f42624 /util/src/entities/ClientRelease.ts
parentMerge pull request #705 from fosscord/dependabot/npm_and_yarn/bundle/minimist... (diff)
downloadserver-40f08ed76c35daea8a1e743d2076e27ea4d7e40f.tar.xz
Fix typo in table 'client_relase' -> 'client_release' ( and other of the same typo ) (#703)
* Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo.

* Fixed migration ( but dirty lol )
Diffstat (limited to 'util/src/entities/ClientRelease.ts')
-rw-r--r--util/src/entities/ClientRelease.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/util/src/entities/ClientRelease.ts b/util/src/entities/ClientRelease.ts
new file mode 100644

index 00000000..c5afd307 --- /dev/null +++ b/util/src/entities/ClientRelease.ts
@@ -0,0 +1,26 @@ +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; +}