Fix regresions introduced by #78

This commit is contained in:
Neil Hanlon 2023-01-05 13:07:16 -05:00
parent b22060dd52
commit f0f461c03b
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
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 [];