runner-go (#102)
Reviewed-on: andr3/fyp#102 Co-authored-by: Andre Henriques <andr3h3nriqu3s@gmail.com> Co-committed-by: Andre Henriques <andr3h3nriqu3s@gmail.com>
This commit was merged in pull request #102.
This commit is contained in:
@@ -38,3 +38,14 @@ create table if not exists tasks_dependencies (
|
||||
main_id uuid references tasks (id) on delete cascade not null,
|
||||
dependent_id uuid references tasks (id) on delete cascade not null
|
||||
);
|
||||
|
||||
create table if not exists remote_runner (
|
||||
id uuid primary key default gen_random_uuid(),
|
||||
user_id uuid references users (id) on delete cascade not null,
|
||||
token text not null,
|
||||
|
||||
-- 1: GPU
|
||||
type integer,
|
||||
|
||||
created_on timestamp default current_timestamp
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user