From c8ea31541d11d154b564424658faf45a9d2a0da4 Mon Sep 17 00:00:00 2001 From: bytebytebrew <1571339199@qq.com> Date: Tue, 4 Jul 2023 19:03:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8Dpostgre?= =?UTF-8?q?s=E5=88=9D=E5=A7=8B=E5=8C=96sql=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/postgres/postgres_ry_vue_5.X.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/script/sql/postgres/postgres_ry_vue_5.X.sql b/script/sql/postgres/postgres_ry_vue_5.X.sql index eff1217e..d2f39f06 100644 --- a/script/sql/postgres/postgres_ry_vue_5.X.sql +++ b/script/sql/postgres/postgres_ry_vue_5.X.sql @@ -14,7 +14,7 @@ create table sys_social email varchar(255) default ''::varchar, avatar varchar(500) default ''::varchar, access_token varchar(255) not null, - expire_in int8 default null::varchar, + expire_in int8 default null, refresh_token varchar(255) default null::varchar, access_code varchar(255) default null::varchar, union_id varchar(255) default null::varchar, @@ -1225,11 +1225,11 @@ insert into sys_oss_config values (5, '000000', 'image', 'ruoyi', 'r drop table if exists sys_client; create table sys_client ( id int8, - client_id varchar(64) ''::varchar, - client_key varchar(32) ''::varchar, - client_secret varchar(255) ''::varchar, - grant_type varchar(255) ''::varchar, - device_type varchar(32) ''::varchar, + client_id varchar(64) default ''::varchar, + client_key varchar(32) default ''::varchar, + client_secret varchar(255) default ''::varchar, + grant_type varchar(255) default ''::varchar, + device_type varchar(32) default ''::varchar, active_timeout int4 default 1800, timeout int4 default 604800, status char(1) default '0'::bpchar, @@ -1240,7 +1240,7 @@ create table sys_client ( update_by int8, update_time timestamp, constraint sys_client_pk primary key (id) -) +); comment on table sys_client is '系统授权表'; comment on column sys_client.id is '主建';