Setup
Initialize database
Create or refresh the schema and demo data from local test files.
Database connectionConnected
SchemaReady
Seed dataLoaded
Document storageAUTO
What this does
Creates the missing enum types, tables, foreign keys, and indexes expected by the app, then refreshes demo customers, carriers, drivers, broker accounts, users, shipments, invites, and audit history.
Carrier seed data is loaded from prisma/seed-data/carriers/carriers.csv. If that file is missing, setup stops with a clear error instead of silently using fallback carrier records.
Before refresh/reset, Setup now archives current bucket contents under archive/YYYYMMDD-HHMMSS/ and then clears the active objects in mm6-app--docs-test.