Skip to main content
← Course 0 Syllabus (44 Lessons)/Part IV · Worked Labs & Full Lifecycle (Ch 14–24)
COURSE 0 · CH 15 · 1,088 WORDS · 6 MIN READLIVE VM: lab0-free-range · TASK T13

15 Complete the application lifecycle

In a fresh example directory, generate and source .env, then run: Revision0001 creates the original jobs table. Revision0002 adds operation and creation-time columns, persistent credentials, users, counters and budget reservations.

Read Full Lesson + Split-Screen Linux VM Launch Guided Linux Quest (T13) →
WHAT YOU WILL BUILD & VERIFY IN THIS LESSON
  1. Initialize through migrations
  2. Separate schema ownership from runtime privileges
  3. Human login and service credentials
  4. Shared quotas, schedules and webhooks
  5. Cancellation, retries and retention
  6. Acceptance criteria
CRUCIBLE STUDIO VOICE EXCERPT

Files: advanced.py, operator_cli.py, migrations/, tests/test_v3.py, tests/test_extended.py. These additions turn several earlier design exercises into executable examples. They remain a teaching service with deliberately bounded scope. In a fresh example directory, generate and source .env, then run: Revision0001 creates the original jobs table. Revision0002 adds operation and creation-time columns, persistent credentials, users, counters and budget reservations. The migration registers every model before comparing metadata. A fresh-process regression test catches missing registration that an already-imported test process could hide. For an existing v2 database, first take and restore a backup and compare its actual schema to revision0001. Stop API writers and workers during this teaching migration.