All checks were successful
/ release (push) Successful in 1m23s
This avoids the append problem which bloats the database to 200+ gb in a month and shrinks again to 5g with a full vacuum
5 lines
130 B
SQL
5 lines
130 B
SQL
CREATE TABLE IF NOT EXISTS logs(
|
|
id bigserial PRIMARY KEY,
|
|
task_id bigint REFERENCES tasks(id) NOT NULL,
|
|
message text
|
|
);
|