将bigint 修改成 int8

This commit is contained in:
2026-02-03 20:46:49 +08:00
parent a22f698620
commit 2aa351e43c
14 changed files with 230 additions and 245 deletions

View File

@@ -1,8 +1,8 @@
create table user_performance
(
id bigint not null primary key,
user_id bigint,
user_phone bigint,
id int8 not null primary key,
user_id int8,
user_phone int8,
user_name varchar(128),
performance decimal(16, 4) default 0,
own_performance decimal(16, 4) default 0,
@@ -38,14 +38,14 @@ alter table user_performance
create table user_performance_log
(
id bigint not null primary key,
user_id bigint,
user_phone bigint,
id int8 not null primary key,
user_id int8,
user_phone int8,
user_name varchar(128),
amount decimal(14, 4) default 0,
source_id bigint,
source_id int8,
source_detail text,
order_id bigint,
order_id int8,
type int default 1,
statistical_date timestamp(6),
channel varchar(64),
@@ -91,9 +91,9 @@ alter table user_performance_log
create table user_performance_benefit
(
id bigint not null primary key,
user_id bigint,
user_phone bigint,
id int8 not null primary key,
user_id int8,
user_phone int8,
user_name varchar(128),
performance decimal(16, 4) default 0,
own_performance decimal(16, 4) default 0,
@@ -129,14 +129,14 @@ alter table user_performance_benefit
create table user_performance_benefit_log
(
id bigint not null primary key,
user_id bigint,
user_phone bigint,
id int8 not null primary key,
user_id int8,
user_phone int8,
user_name varchar(128),
amount decimal(14, 4) default 0,
source_id bigint,
source_id int8,
source_detail text,
order_id bigint,
order_id int8,
type int default 1,
statistical_date timestamp(6),
channel varchar(64),