Ship legacy migrate APIs, portfolio/blog old-id schema, and admin migrate/purge flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-07-29 16:10:41 +03:30
co-authored by Cursor
parent 7244b70e90
commit 4598add88c
32 changed files with 4234 additions and 265 deletions
+23 -4
View File
@@ -24,16 +24,35 @@ JWT_REFRESH_EXPIRES_IN=7d
# SMS (set to true when SMS provider API is ready)
SMS_ENABLED=false
# Object storage (Parmin / S3-compatible)
# Object storage (Parspack / S3-compatible)
# Bucket id is the Parspack account id. Object keys live under meshkee/...
# meshkee/businesses/{businessId}/media/{file}
# meshkee/businesses/{businessId}/brand/{file}
STORAGE_DISK=s3
S3_ENDPOINT=https://sas.amin.parminstorage.ir
S3_BUCKET=meshkee-storage
S3_PUBLIC_URL=https://meshkee-storage.sas.amin.parminstorage.ir
S3_ENDPOINT=https://c804387.parspack.net
S3_BUCKET=c804387
S3_PUBLIC_URL=https://c804387.parspack.net/c804387
S3_REGION=us-east-1
S3_FORCE_PATH_STYLE=true
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# Legacy WillaEngine MySQL (SSH tunnel to old host, e.g. ssh -L 3307:127.0.0.1:3307 root@89.42.138.52)
OLD_MYSQL_HOST=127.0.0.1
OLD_MYSQL_PORT=3307
OLD_MYSQL_USER=
OLD_MYSQL_PASSWORD=
OLD_MYSQL_DATABASE=willaengine
# Legacy Parmin S3 (source for portfolio/media byte-copy; images >300KB are skipped)
OLD_S3_ENDPOINT=https://sas.amin.parminstorage.ir
OLD_S3_BUCKET=meshkee-storage
OLD_S3_PUBLIC_URL=https://meshkee-storage.sas.amin.parminstorage.ir
OLD_S3_REGION=us-east-1
OLD_S3_FORCE_PATH_STYLE=true
OLD_S3_ACCESS_KEY_ID=
OLD_S3_SECRET_ACCESS_KEY=
# AI product generation (use Groq free tier or OpenAI)
AI_PROVIDER=groq
GROQ_API_KEY=