use bigger data types

This commit is contained in:
speatzle 2024-05-10 13:28:20 +02:00
parent af88c101a7
commit d612ce68c4
3 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
CREATE TABLE IF NOT EXISTS tasks(
id serial PRIMARY KEY,
id bigserial PRIMARY KEY,
worker_id uuid REFERENCES workers(id),
file_id integer REFERENCES files(id) NOT NULL,
file_id bigint REFERENCES files(id) NOT NULL,
type smallint NOT NULL,
status smallint NOT NULL,
data JSONB,