mirror of
https://github.com/penpot/penpot.git
synced 2026-05-11 02:58:25 +00:00
11 lines
299 B
SQL
11 lines
299 B
SQL
CREATE INDEX IF NOT EXISTS file__modified_at__with__data__idx
|
|
ON file (modified_at, id)
|
|
WHERE data IS NOT NULL;
|
|
|
|
ALTER TABLE file
|
|
ADD COLUMN data_backend text NULL,
|
|
ALTER COLUMN data_backend SET STORAGE EXTERNAL;
|
|
|
|
DROP TRIGGER file_on_update_tgr ON file;
|
|
DROP FUNCTION handle_file_update ();
|