将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_daily_sign
(
id BIGINT NOT NULL PRIMARY KEY,
user_id BIGINT NULL,
user_phone bigint,
id int8 NOT NULL PRIMARY KEY,
user_id int8 NULL,
user_phone int8,
user_name varchar(128),
statistics_date DATE NULL,
sign_count INTEGER NULL,
@@ -15,7 +15,7 @@ CREATE TABLE user_daily_sign
update_time TIMESTAMP(6) NULL,
update_user int8 NULL,
status INTEGER NULL,
create_dept BIGINT NULL
create_dept int8 NULL
);
COMMENT ON TABLE user_daily_sign IS '用户看广告记录表';
@@ -48,7 +48,7 @@ CREATE INDEX uds_uid_index
CREATE TABLE ads
(
id BIGINT NOT NULL PRIMARY KEY,
id int8 NOT NULL PRIMARY KEY,
name VARCHAR(255) NULL,
url VARCHAR(255) NULL,
sort INTEGER DEFAULT 1,