Browse Source

成本comment完善

master
liujiangyong 2 years ago
parent
commit
5ce2e13e41
  1. 2
      api/app/lib/models/patrol_record_issue_handle.js
  2. 2
      script/1.0.5/schema/3.update_patrol_record_issue_handle.sql

2
api/app/lib/models/patrol_record_issue_handle.js

@ -208,7 +208,7 @@ module.exports = dc => {
type: DataTypes.DECIMAL(11, 2),
allowNull: true,
defaultValue: null,
comment: '成本',
comment: '成本(元)',
primaryKey: false,
field: "cost",
autoIncrement: false

2
script/1.0.5/schema/3.update_patrol_record_issue_handle.sql

@ -1,4 +1,4 @@
ALTER TABLE "public"."patrol_record_issue_handle"
ADD COLUMN "cost" decimal(11,2);
COMMENT ON COLUMN "public"."patrol_record_issue_handle"."cost" IS '成本';
COMMENT ON COLUMN "public"."patrol_record_issue_handle"."cost" IS '成本(元)';
Loading…
Cancel
Save