Database Setup

Run this once after deploying the ZIP to Cloudflare Pages.

Cloudflare settings first:
1. Create a D1 database.
2. In the Pages project, add a D1 binding named DB and select that database.
3. Add an encrypted secret named BOOTSTRAP_TOKEN with a private value you choose.
4. Redeploy after adding the binding/secret, then return here.
Checking setup status…

Initialization imports the employee leave-credit data and historical leave-monitoring records from the workbooks supplied for this build. Imported history is reference-only; the imported current balances are the opening balances for future automatic updates.

← Return to system