Commit 4038aefb authored by Edward Karavakis's avatar Edward Karavakis
Browse files

[FTS-1662] cloudStorage_name DB variable length is too restrictive

parent 9040cae9
......@@ -34,5 +34,11 @@ CREATE TABLE t_oauth2_providers (
PRIMARY KEY(`provider_url`)
);
ALTER TABLE `t_cloudStorage`
MODIFY `cloudStorage_name` varchar(150) NOT NULL;
ALTER TABLE `t_cloudStorageUser`
MODIFY `cloudStorage_name` varchar(150) NOT NULL;
INSERT INTO t_schema_vers (major, minor, patch, message)
VALUES (6, 0, 0, 'QoS daemon, OIDC integration and archiving monitoring diff');
......@@ -29,4 +29,10 @@ ALTER TABLE `t_file_backup`
DROP TABLE t_oauth2_providers;
ALTER TABLE `t_cloudStorage`
MODIFY `cloudStorage_name` varchar(50) NOT NULL;
ALTER TABLE `t_cloudStorageUser`
MODIFY `cloudStorage_name` varchar(36) NOT NULL;
UPDATE t_schema_vers SET MAJOR=5, PATCH=0, MESSAGE='DOWNGRADE from 6.0.0' where MAJOR = 6;
......@@ -100,7 +100,7 @@ DROP TABLE IF EXISTS `t_cloudStorage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_cloudStorage` (
`cloudStorage_name` varchar(50) NOT NULL,
`cloudStorage_name` varchar(150) NOT NULL,
`app_key` varchar(255) DEFAULT NULL,
`app_secret` varchar(255) DEFAULT NULL,
`service_api_url` varchar(1024) DEFAULT NULL,
......@@ -118,7 +118,7 @@ DROP TABLE IF EXISTS `t_cloudStorageUser`;
CREATE TABLE `t_cloudStorageUser` (
`user_dn` varchar(700) NOT NULL DEFAULT '',
`vo_name` varchar(100) NOT NULL DEFAULT '',
`cloudStorage_name` varchar(36) NOT NULL,
`cloudStorage_name` varchar(150) NOT NULL,
`access_token` varchar(255) DEFAULT NULL,
`access_token_secret` varchar(255) DEFAULT NULL,
`request_token` varchar(255) DEFAULT NULL,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment