Editorial question16.4K views3,269 votes0 answers1,052 following
AI-generatedKtor + Exposed: Coordinating Schema Migrations Across Stateless Instances
Context Ktor handles HTTP routing and coroutine-based concurrency while Exposed provides the SQL DSL and DAO layer for persistence. Schema evolution in Exposed relies on SchemaUtils.createMissingTablesAndColumns , which performs additive DDL only and lacks a built-in version history or rollback mechanism. Problem When multiple stateless Ktor instances start