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