1. publish
This commit is contained in:
2026-04-26 20:44:58 +08:00
parent 1a330785e3
commit 8023fed31a
2 changed files with 18 additions and 15 deletions

View File

@@ -166,13 +166,13 @@ comment on column merchant_store_favorite.user_id is '用户id';
comment on column merchant_store_favorite.merchant_id is '商家id'; comment on column merchant_store_favorite.merchant_id is '商家id';
comment on column merchant_store_favorite.store_name is '店铺名称'; comment on column merchant_store_favorite.store_name is '店铺名称';
comment on column merchant_store_favorite.remark is '备注'; comment on column merchant_store_favorite.remark is '备注';
comment on column merchant_product_inventory.create_user is '创建人'; comment on column merchant_store_favorite.create_user is '创建人';
comment on column merchant_product_inventory.create_dept is '创建部门'; comment on column merchant_store_favorite.create_dept is '创建部门';
comment on column merchant_product_inventory.create_time is '创建时间'; comment on column merchant_store_favorite.create_time is '创建时间';
comment on column merchant_product_inventory.update_user is '修改人'; comment on column merchant_store_favorite.update_user is '修改人';
comment on column merchant_product_inventory.update_time is '修改时间'; comment on column merchant_store_favorite.update_time is '修改时间';
comment on column merchant_product_inventory.status is '状态'; comment on column merchant_store_favorite.status is '状态';
comment on column merchant_product_inventory.is_deleted is '是否已删除'; comment on column merchant_store_favorite.is_deleted is '是否已删除';
drop table if exists merchant_payout_account; drop table if exists merchant_payout_account;
create table merchant_payout_account create table merchant_payout_account
@@ -191,19 +191,22 @@ create table merchant_payout_account
status int4, status int4,
is_deleted int4 default 0 is_deleted int4 default 0
); );
create index idx_merchant_payout_account_user_id on merchant_payout_account (user_id) where is_deleted = 0;
comment on table merchant_payout_account is '商家收款资料表'; comment on table merchant_payout_account is '商家收款资料表';
comment on column merchant_payout_account.id is '主键'; comment on column merchant_payout_account.id is '主键';
comment on column merchant_payout_account.user_id is '用户id'; comment on column merchant_payout_account.user_id is '用户id';
comment on column merchant_payout_account.account_type is '账号类型 1:支付宝 2:微信'; comment on column merchant_payout_account.account_type is '账号类型 1:支付宝 2:微信';
comment on column merchant_payout_account.account_number is '银行卡号'; comment on column merchant_payout_account.account_number is '银行卡号';
comment on column merchant_payout_account.account_url is '收款码图片'; comment on column merchant_payout_account.account_url is '收款码图片';
comment on column merchant_store_favorite.remark is '备注'; comment on column merchant_payout_account.remark is '备注';
comment on column merchant_product_inventory.create_user is '创建人'; comment on column merchant_payout_account.create_user is '创建人';
comment on column merchant_product_inventory.create_dept is '创建部门'; comment on column merchant_payout_account.create_dept is '创建部门';
comment on column merchant_product_inventory.create_time is '创建时间'; comment on column merchant_payout_account.create_time is '创建时间';
comment on column merchant_product_inventory.update_user is '修改人'; comment on column merchant_payout_account.update_user is '修改人';
comment on column merchant_product_inventory.update_time is '修改时间'; comment on column merchant_payout_account.update_time is '修改时间';
comment on column merchant_product_inventory.status is '状态'; comment on column merchant_payout_account.status is '状态';
comment on column merchant_product_inventory.is_deleted is '是否已删除'; comment on column merchant_payout_account.is_deleted is '是否已删除';