mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 07:11:05 +01:00
Fix foreign key on build template with postgresql
This commit is contained in:
parent
c4548b017a
commit
d601dba331
@ -234,6 +234,7 @@ func alterRequestBody(t *trans.Transaction) {
|
||||
bodyFieldProcessor("inventory_id", inventoryID, &request)
|
||||
bodyFieldProcessor("repository_id", repoID, &request)
|
||||
bodyFieldProcessor("template_id", templateID, &request)
|
||||
bodyFieldProcessor("build_template_id", nil, &request)
|
||||
if task != nil {
|
||||
bodyFieldProcessor("task_id", task.ID, &request)
|
||||
}
|
||||
|
@ -890,10 +890,6 @@ definitions:
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
template_id:
|
||||
type: integer
|
||||
project_id:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
example: default
|
||||
@ -909,6 +905,7 @@ definitions:
|
||||
type:
|
||||
- string
|
||||
- 'null'
|
||||
example: path/to/script-client.py
|
||||
|
||||
ScheduleRequest:
|
||||
type: object
|
||||
|
Loading…
Reference in New Issue
Block a user