forked from free-lancers/electricity_bill_calc_service
enhance(migrate):用户费用记录改为自增长序列类型。
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user