increase string size for some database fields
All checks were successful
delpoy / build-and-deploy (push) Successful in 48s
All checks were successful
delpoy / build-and-deploy (push) Successful in 48s
This commit is contained in:
parent
8d8b1c52c0
commit
3c8dc30e43
@ -43,7 +43,7 @@ export class Report extends Model {
|
||||
declare url_hash: string;
|
||||
@Column({ type: DataTypes.STRING, allowNull: false })
|
||||
declare subject: string;
|
||||
@Column({ type: DataTypes.STRING })
|
||||
@Column({ type: DataTypes.TEXT })
|
||||
declare body: string | null;
|
||||
@Column({ type: DataTypes.BOOLEAN, allowNull: false })
|
||||
declare draft: boolean;
|
||||
@ -51,7 +51,7 @@ export class Report extends Model {
|
||||
declare status: 'none' | 'review' | 'reviewed';
|
||||
@Column({ type: DataTypes.STRING })
|
||||
declare notice: string | null;
|
||||
@Column({ type: DataTypes.STRING })
|
||||
@Column({ type: DataTypes.TEXT })
|
||||
declare statement: string | null;
|
||||
@Column({ type: DataTypes.DATE })
|
||||
declare striked_at: Date | null;
|
||||
@ -114,7 +114,7 @@ export class Feedback extends Model {
|
||||
declare event: string;
|
||||
@Column({ type: DataTypes.STRING })
|
||||
declare title: string | null;
|
||||
@Column({ type: DataTypes.STRING })
|
||||
@Column({ type: DataTypes.TEXT })
|
||||
declare content: string | null;
|
||||
@Column({ type: DataTypes.STRING, allowNull: false, unique: true })
|
||||
@Index
|
||||
|
Loading…
x
Reference in New Issue
Block a user