liding
3 天以前 d1b5cafeaf5d26a762350c04ebb02ea5b3b8ee7c
main-business/src/main/resources/db/migration/postgresql/V20250603160101__create_table_purchase_registration.sql
@@ -15,6 +15,7 @@
    total_price_excluding_tax DECIMAL(10, 2) NOT NULL,           -- 不含税总价,不允许为空
    registrant_id             BIGINT         NOT NULL,           -- 登记人id,不允许为空
    registration_date         DATE           NOT NULL,           -- 登记日期,不允许为空
    freight                   DECIMAL(10, 2) NOT NULL,           -- 运费
    deleted                   INT            NOT NULL DEFAULT 0, -- 软删除标志:0=未删除,1=已删除
    create_by                 VARCHAR(255),                      -- 创建人用户名
@@ -39,6 +40,8 @@
COMMENT ON COLUMN purchase_registration.total_price_excluding_tax IS '不含税总价';
COMMENT ON COLUMN purchase_registration.registrant_id IS '登记人id';
COMMENT ON COLUMN purchase_registration.registration_date IS '登记日期';
COMMENT ON COLUMN purchase_registration.freight IS '运费';
COMMENT ON COLUMN purchase_registration.deleted IS '软删除标志,0=未删除,1=已删除';
COMMENT ON COLUMN purchase_registration.create_by IS '创建该记录的用户';
COMMENT ON COLUMN purchase_registration.create_time IS '记录创建时间';