We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07234c7 commit 882cd60Copy full SHA for 882cd60
scripts/sql/260_gitops_ssh.down.sql
@@ -0,0 +1,5 @@
1
+ALTER TABLE public.gitops_config DROP COLUMN IF EXISTS ssh_key;
2
+ALTER TABLE public.gitops_config DROP COLUMN IF EXISTS auth_mode;
3
+ALTER TABLE public.gitops_config ALTER COLUMN "token" SET NOT NULL;
4
+ALTER TABLE public.gitops_config ALTER COLUMN "host" SET NOT NULL;
5
+ALTER TABLE public.gitops_config DROP COLUMN IF EXISTS ssh_host;
scripts/sql/260_gitops_ssh.up.sql
@@ -0,0 +1,7 @@
+ALTER TABLE public.gitops_config ADD COLUMN IF NOT EXISTS ssh_key text;
+ALTER TABLE public.gitops_config ADD COLUMN IF NOT EXISTS auth_mode text;
+ALTER TABLE public.gitops_config ALTER COLUMN "token" DROP NOT NULL;
+ALTER TABLE public.gitops_config ALTER COLUMN "host" DROP NOT NULL;
+ALTER TABLE public.gitops_config ADD ssh_host varchar(250) NULL;
6
+
7
0 commit comments