add public feedback/contact option
All checks were successful
delpoy / build-and-deploy (push) Successful in 1m5s
All checks were successful
delpoy / build-and-deploy (push) Successful in 1m5s
This commit is contained in:
@@ -99,13 +99,13 @@ export class StrikePunishment extends Model {
|
||||
|
||||
@Table({ modelName: 'feedback', underscored: true })
|
||||
export class Feedback extends Model {
|
||||
@Column({ type: DataTypes.STRING, allowNull: false, unique: true })
|
||||
@Index
|
||||
declare url_hash: string;
|
||||
@Column({ type: DataTypes.STRING, allowNull: false })
|
||||
declare event: string;
|
||||
@Column({ type: DataTypes.STRING })
|
||||
declare content: string;
|
||||
@Column({ type: DataTypes.STRING, allowNull: false, unique: true })
|
||||
@Index
|
||||
declare url_hash: string;
|
||||
@Column({ type: DataTypes.INTEGER })
|
||||
@ForeignKey(() => User)
|
||||
declare user_id: number;
|
||||
|
||||
Reference in New Issue
Block a user