Files
static-pages/apps/survey.immich.app/backend/wrangler-do.jsonc
T

24 lines
626 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "survey-sessions",
"main": "src/durable-objects/index.ts",
"compatibility_date": "2025-06-03",
"durable_objects": {
"bindings": [
{
"name": "SURVEY_SESSIONS",
"class_name": "SurveyDO",
},
],
},
// This config only drives `wrangler build`; Terraform deploys the worker and
// applies the migration itself, so this must stay in sync with the block in
// deployment/modules/cloudflare/workers/survey/worker.tf.
"migrations": [
{
"tag": "v1",
"new_sqlite_classes": ["SurveyDO"],
},
],
}