Browse Source

Fix article default not allowed comment

pull/6/head
Menci 6 years ago
parent
commit
71c44b08de
  1. 2
      models/article.ts

2
models/article.ts

@ -41,7 +41,7 @@ export default class Article extends Model {
@TypeORM.Column({ nullable: true, type: "integer" })
comments_num: number;
@TypeORM.Column({ nullable: true, type: "boolean" })
@TypeORM.Column({ default: true, type: "boolean" })
allow_comment: boolean;
@TypeORM.Index()

Loading…
Cancel
Save