Merge pull request #81 from NeilHanlon/scoped-packages-modules

Fix regresions introduced by #78
This commit is contained in:
resf-prow[bot] 2023-01-06 06:15:09 +00:00 committed by GitHub
commit a200005b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 8 deletions

View File

@ -367,6 +367,8 @@ func (a *Access) SetGroupInstallOptionsForPackage(projectId string, packageName
projectId,
packageName,
dependsOn,
enableModule,
disableModule,
)
return err
}

View File

@ -1,3 +1,2 @@
ALTER TABLE
IF EXISTS extra_package_options DROP COLUMN IF EXISTS enable_module,
IF EXISTS extra_package_options DROP COLUMN IF EXISTS disable_module;
ALTER TABLE IF EXISTS extra_package_options DROP COLUMN IF EXISTS enable_module,
DROP COLUMN IF EXISTS disable_module;

View File

@ -1,5 +1,2 @@
ALTER TABLE
IF EXISTS extra_package_options
ADD
COLUMN IF NOT EXISTS enable_module text [] not null default array [] :: text [],
COLUMN IF NOT EXISTS disable_module text [] not null default array [] :: text [];
ALTER TABLE IF EXISTS extra_package_options ADD COLUMN IF NOT EXISTS enable_module text [] NOT NULL DEFAULT ARRAY []::text [],
ADD COLUMN IF NOT EXISTS disable_module text [] NOT NULL DEFAULT ARRAY []::text [];