mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-28 17:05:36 +00:00
Fix primarycolum being assigned to nullable = true
This commit is contained in:
@@ -17,7 +17,7 @@ import { BaseClassWithoutId } from "./BaseClass";
|
||||
@Entity("categories")
|
||||
export class Categories extends BaseClassWithoutId { // Not using snowflake
|
||||
|
||||
@PrimaryColumn({ nullable: true })
|
||||
@PrimaryColumn()
|
||||
id: number;
|
||||
|
||||
@Column({ nullable: true })
|
||||
|
||||
Reference in New Issue
Block a user