Semaphore/db/sql/migrations/v2.9.6.sql
Denis Gukov 6fa3e50198
Runners (#1477)
* feat(runners): add migartion

* feat(runners): sql implementation
2023-09-11 01:02:10 +02:00

10 lines
341 B
SQL

create table runner
(
id integer primary key autoincrement,
project_id int,
token varchar(255) not null,
webhook varchar(1000) not null default '',
max_parallel_tasks int not null default 0,
foreign key (`project_id`) references project(`id`) on delete cascade
);