Răsfoiți Sursa

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

疯狂的狮子Li 1 an în urmă
părinte
comite
6bbe11d494

+ 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,