mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 18:32:29 +01:00
Remove use of PRODUCTION
env var
This commit is contained in:
parent
8d6b027242
commit
eafa93b035
@ -111,10 +111,7 @@ export class Message extends BaseClass {
|
|||||||
@ManyToOne(() => Application)
|
@ManyToOne(() => Application)
|
||||||
application?: Application;
|
application?: Application;
|
||||||
|
|
||||||
@Column({
|
@Column({ nullable: true })
|
||||||
nullable: true,
|
|
||||||
type: process.env.PRODUCTION ? "longtext" : undefined,
|
|
||||||
})
|
|
||||||
content?: string;
|
content?: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
|
Loading…
Reference in New Issue
Block a user