lemmy/migrations/2023-09-28-084231_import_user_settings_rate_limit/up.sql
Nutomic 6d7b38f4de
Implement user data import/export (#3976)
* Implement endpoints for user data import/export

* add test

* exclude avatar/banner

* increase import url count, add rate limit

* also export/import saved posts

* rate limit

* rename

* saved posts also exist

* rename routes

* fix test

* error handling

* clippy

* limit parallelism

* clippy

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-11 16:47:22 +02:00

7 lines
205 B
SQL

ALTER TABLE local_site_rate_limit
ADD COLUMN import_user_settings int NOT NULL DEFAULT 1;
ALTER TABLE local_site_rate_limit
ADD COLUMN import_user_settings_per_second int NOT NULL DEFAULT 86400;