garm/database/sql
Gabriel Adrian Samfira 59e6fb28c2 Create relation between WorkflowJobs and Instances
Ensure that there is a foreign key constraint between runners and jobs.
Once a runner is associated with a job, we want the job to be removed along
with the runner.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-08-26 19:45:59 +00:00
..
controller.go Move errors to external package 2023-07-22 22:26:47 +00:00
controller_test.go Move errors to external package 2023-07-22 22:26:47 +00:00
enterprise.go Properly set runner group when creating a pool 2023-08-25 13:29:26 +00:00
enterprise_test.go Move errors to external package 2023-07-22 22:26:47 +00:00
instances.go Move errors to external package 2023-07-22 22:26:47 +00:00
instances_test.go Move code to external package 2023-07-21 15:34:18 +00:00
jobs.go Create relation between WorkflowJobs and Instances 2023-08-26 19:45:59 +00:00
models.go Create relation between WorkflowJobs and Instances 2023-08-26 19:45:59 +00:00
organizations.go Properly set runner group when creating a pool 2023-08-25 13:29:26 +00:00
organizations_test.go Move errors to external package 2023-07-22 22:26:47 +00:00
pools.go Move errors to external package 2023-07-22 22:26:47 +00:00
pools_test.go Add job tracking 2023-07-03 07:46:20 +00:00
repositories.go Properly set runner group when creating a pool 2023-08-25 13:29:26 +00:00
repositories_test.go Rename UpdateRepositoryParams to UpdateEntityParams 2023-07-05 00:00:24 +00:00
sql.go Create relation between WorkflowJobs and Instances 2023-08-26 19:45:59 +00:00
users.go Move most of util package 2023-07-22 22:39:17 +00:00
users_test.go Add more test cases for the /database/sql/users.go 2023-06-14 19:24:42 +03:00
util.go Move most of util package 2023-07-22 22:39:17 +00:00