Add a migration to enable compression on already existing tables

main
Max Ignatenko 2024-02-25 11:24:40 +00:00
parent 3432121be2
commit fa592c2b34
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
-- Only affects future writes
alter table records_like alter content set compression lz4;
alter table records alter content set compression lz4;
alter table records_default alter content set compression lz4;
alter table records_post alter content set compression lz4;
alter table records_follow alter content set compression lz4;
alter table records_block alter content set compression lz4;
alter table records_repost alter content set compression lz4;
alter table records_profile alter content set compression lz4;
alter table records_list alter content set compression lz4;
alter table records_listblock alter content set compression lz4;
alter table records_listitem alter content set compression lz4;