AppFlowy-Cloud/migrations/20241025135939_import_task_add_uid_column.sql
Nathan.fooo 9629d4cefa
chore: add limit for importing zip file (#938)
* chore: add limitation for import zip file

* chore: support upload big file

* chore: implement client api

* chore: implement client api

* chore: implement client api

* chore: update logs

* chore: check file size

* chore: last process at

* chore: set content type

* chore: fix test

* chore: try test

* chore: temporary disable test
2024-10-28 08:51:34 +08:00

10 lines
324 B
SQL

-- Add migration script here
ALTER TABLE af_import_task
ADD COLUMN uid BIGINT,
ADD COLUMN file_url TEXT;
-- Update the existing index to include the new uid column
DROP INDEX IF EXISTS idx_af_import_task_status_created_at;
CREATE INDEX idx_af_import_task_uid_status_created_at
ON af_import_task (uid, status, created_at);