将bigint 修改成 int8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
CREATE TABLE prize_spu
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
spu_name VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
main_img VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
detail_img text NULL,
|
||||
@@ -36,17 +36,17 @@ COMMENT ON COLUMN prize_spu.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE prize_spu_order
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
user_name VARCHAR(128) NULL,
|
||||
user_phone bigint NULL,
|
||||
spu_id bigint NULL,
|
||||
user_phone int8 NULL,
|
||||
spu_id int8 NULL,
|
||||
spu_name VARCHAR(255) NULL,
|
||||
main_img VARCHAR(255) NULL,
|
||||
detail_img text NULL,
|
||||
quantity INTEGER DEFAULT 0 NOT NULL,
|
||||
order_status INTEGER DEFAULT 0 NOT NULL,
|
||||
version BIGINT DEFAULT 0 NULL,
|
||||
version int8 DEFAULT 0 NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
create_time TIMESTAMP(6) NULL,
|
||||
|
||||
Reference in New Issue
Block a user