게시물 Export 용량 기준 분할 추가 v1.5.25
This commit is contained in:
9
db/migrations/043_post_export_size_and_error_detail.sql
Normal file
9
db/migrations/043_post_export_size_and_error_detail.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE post_export_jobs
|
||||
ADD COLUMN IF NOT EXISTS max_file_size_bytes BIGINT NOT NULL DEFAULT 524288000;
|
||||
|
||||
ALTER TABLE post_export_jobs
|
||||
ADD COLUMN IF NOT EXISTS error_detail TEXT NOT NULL DEFAULT '';
|
||||
|
||||
ALTER TABLE post_export_jobs
|
||||
ADD CONSTRAINT post_export_jobs_max_file_size_bytes_check
|
||||
CHECK (max_file_size_bytes >= 10485760);
|
||||
Reference in New Issue
Block a user