save log offeset so that the master can also log without dropping worker log lines
All checks were successful
/ release (push) Successful in 1m4s
All checks were successful
/ release (push) Successful in 1m4s
This commit is contained in:
parent
78ab8c9daf
commit
24e11d9103
3 changed files with 6 additions and 2 deletions
2
migrations/000015_alter_tasks_table_log_offset.down.sql
Normal file
2
migrations/000015_alter_tasks_table_log_offset.down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE tasks
|
||||
DROP IF EXISTS log_offset;
|
2
migrations/000015_alter_tasks_table_log_offset.up.sql
Normal file
2
migrations/000015_alter_tasks_table_log_offset.up.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE tasks
|
||||
ADD log_offset integer NOT NULL DEFAULT COALESCE(CARDINALITY(log),0);
|
Loading…
Add table
Add a link
Reference in a new issue