mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✨ Add an internal approach to prevent xlog gc to remove file changes
This commit is contained in:
parent
804addfa66
commit
1190cf837b
3 changed files with 14 additions and 1 deletions
|
@ -0,0 +1,9 @@
|
|||
ALTER TABLE file_change
|
||||
ADD COLUMN label text NULL;
|
||||
|
||||
ALTER TABLE file_change
|
||||
ALTER COLUMN label SET STORAGE external;
|
||||
|
||||
CREATE INDEX file_change__label__idx
|
||||
ON file_change (file_id, label)
|
||||
WHERE label is not null;
|
Loading…
Add table
Add a link
Reference in a new issue