package com.ankurm.dbmigrations; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * Runnable demo used only for the {@code /diag/migrations} endpoint (see * {@link com.ankurm.dbmigrations.web.MigrationDiagnosticsController} and * docs/15-production-checklist.md). Every other scenario in this module runs as a JUnit test * against {@code ApplicationContextRunner} so it starts in milliseconds and needs no server — * see docs/01-the-problem-and-mental-model.md for why that split was made. * *

Delete the diagnostics endpoint before shipping a real service; it prints raw migration * bookkeeping tables with no authorization check. */ @SpringBootApplication public class DbMigrationsApplication { public static void main(String[] args) { SpringApplication.run(DbMigrationsApplication.class, args); } }