enhance(migrate):用户费用记录改为自增长序列类型。

This commit is contained in:
徐涛 2022-09-16 05:28:37 +08:00
parent ce7b69923d
commit 92e8d312dd

View File

@ -35,7 +35,7 @@ create table if not exists user_detail (
create table if not exists user_charge (
created_at timestamptz not null,
seq bigint not null primary key,
seq bigserial not null primary key,
user_id varchar(120) not null,
fee numeric(12,2),
discount numeric(5,4),