Skip to content

Commit

Permalink
Add indexed column webhook_id to scheduled products table
Browse files Browse the repository at this point in the history
This is required to be able to associate a scheduled product
with an entity from a webhook payload, e.g. a PR on GitHub.
That is in turn required to be able to find a possibly already
existing scheduled product when a webhook is called, e.g. to
implement cancellation and cleanup in certain cases.

Related ticket: https://progress.opensuse.org/issues/127949
  • Loading branch information
Martchus committed May 23, 2023
1 parent 6dc41fa commit 05de36d
Show file tree
Hide file tree
Showing 8 changed files with 5,469 additions and 1 deletion.
18 changes: 18 additions & 0 deletions dbicdh/PostgreSQL/deploy/100/001-auto-__VERSION.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--
-- Created by SQL::Translator::Producer::PostgreSQL
-- Created on Fri May 12 14:53:48 2023
--
;
--
-- Table: dbix_class_deploymenthandler_versions
--
CREATE TABLE dbix_class_deploymenthandler_versions (
id serial NOT NULL,
version character varying(50) NOT NULL,
ddl text,
upgrade_sql text,
PRIMARY KEY (id),
CONSTRAINT dbix_class_deploymenthandler_versions_version UNIQUE (version)
);

;
Loading

0 comments on commit 05de36d

Please sign in to comment.