Database Table Creator

•
78
•

Automates the generation of end-to-end database layers including SQL migrations, Kotlin entities, and repository tests.

The Database Table Creator skill provides a comprehensive workflow for implementing new database tables in Kotlin projects using the Exposed ORM and PostgreSQL. It ensures structural consistency by generating SQL migrations, UUID-based table definitions, entity data classes, and CRUD repositories while enforcing strict architectural rules such as soft deletes, avoidance of foreign key constraints for scalability, and mandatory index patterns. This skill is ideal for developers who need to maintain high standards for their data persistence layer while eliminating repetitive boilerplate tasks.

Key Features

01Creates Kotlin Exposed ORM definitions extending UUIDTable and Entity.
02Generates a comprehensive suite of 7+ repository tests for verified coverage.
0378 GitHub stars
04Automates dependency injection registration via factory bean templates.
05Generates PostgreSQL migrations with soft delete triggers and optimized indexes.
06Implements repository interfaces and implementations with primary/replica routing.

Use Cases

01Ensuring architectural consistency across multiple database entities in a microservices environment.
02Rapidly bootstrapping a new data model for a Kotlin-based backend service.
03Standardizing database migration and repository patterns across a large development team.