enhance(migrate):用户费用记录改为自增长序列类型。
This commit is contained in:
parent
ce7b69923d
commit
92e8d312dd
|
@ -35,7 +35,7 @@ create table if not exists user_detail (
|
||||||
|
|
||||||
create table if not exists user_charge (
|
create table if not exists user_charge (
|
||||||
created_at timestamptz not null,
|
created_at timestamptz not null,
|
||||||
seq bigint not null primary key,
|
seq bigserial not null primary key,
|
||||||
user_id varchar(120) not null,
|
user_id varchar(120) not null,
|
||||||
fee numeric(12,2),
|
fee numeric(12,2),
|
||||||
discount numeric(5,4),
|
discount numeric(5,4),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user