mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 20:56:12 +02:00
🎉 Add task deduplication by label
This commit is contained in:
parent
ae79ee435e
commit
d7459db292
3 changed files with 47 additions and 17 deletions
9
backend/src/app/migrations/sql/0087-mod-task-table.sql
Normal file
9
backend/src/app/migrations/sql/0087-mod-task-table.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
ALTER TABLE task
|
||||
ADD COLUMN label text NULL;
|
||||
|
||||
ALTER TABLE task
|
||||
ALTER COLUMN label SET STORAGE external;
|
||||
|
||||
CREATE INDEX task__label__idx
|
||||
ON task (label, name, queue)
|
||||
WHERE status = 'new';
|
Loading…
Add table
Add a link
Reference in a new issue