소스 검색

fix 修复 sqlserver 脚本字符串长度问题

疯狂的狮子Li 1 년 전
부모
커밋
6bbe11d494
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      script/sql/sqlserver/sqlserver_ry_vue_5.X.sql
  2. 2 2
      script/sql/update/sqlserver/update_5.0-5.1.sql

+ 2 - 2
script/sql/sqlserver/sqlserver_ry_vue_5.X.sql

@@ -3085,8 +3085,8 @@ GO
 CREATE TABLE sys_client
 (
     id                  bigint                              NOT NULL,
-    client_id           nvarchar(20)  DEFAULT ''            NULL,
-    client_key          nvarchar(255) DEFAULT ''            NULL,
+    client_id           nvarchar(64)  DEFAULT ''            NULL,
+    client_key          nvarchar(32) DEFAULT ''            NULL,
     client_secret       nvarchar(255) DEFAULT ''            NULL,
     grant_type          nvarchar(255) DEFAULT ''            NULL,
     device_type         nvarchar(32) DEFAULT ''            NULL,

+ 2 - 2
script/sql/update/sqlserver/update_5.0-5.1.sql

@@ -234,8 +234,8 @@ GO
 CREATE TABLE sys_client
 (
     id                  bigint                              NOT NULL,
-    client_id           nvarchar(20)  DEFAULT ''            NULL,
-    client_key          nvarchar(255) DEFAULT ''            NULL,
+    client_id           nvarchar(64)  DEFAULT ''            NULL,
+    client_key          nvarchar(32) DEFAULT ''            NULL,
     client_secret       nvarchar(255) DEFAULT ''            NULL,
     grant_type          nvarchar(255) DEFAULT ''            NULL,
     device_type         nvarchar(32) DEFAULT ''            NULL,