From aiup-vaadin-jooq
Generates versioned Flyway database migration scripts (V*.sql) with sequences, tables, constraints, and foreign keys from entity models. Useful for creating migrations, generating SQL scripts, or setting up database tables.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aiup-vaadin-jooq:flyway-migrationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create Flyway database migration scripts based on `docs/entity_model.md`.
Create Flyway database migration scripts based on docs/entity_model.md.
Use sequences for primary keys.
Flyway versioned migrations follow this naming pattern:
V001__create_room_type_table.sql
V002__create_guest_table.sql
V003__create_reservation_table.sql
-- V001__create_room_type_table.sql
CREATE SEQUENCE room_type_seq START WITH 1 INCREMENT BY 1 CACHE 50;
CREATE TABLE room_type
(
id BIGINT DEFAULT nextval('room_type_seq') PRIMARY KEY,
name VARCHAR(50) NOT NULL UNIQUE,
description VARCHAR(500),
capacity INTEGER NOT NULL CHECK (capacity BETWEEN 1 AND 10),
price DECIMAL(10, 2) NOT NULL CHECK (price >= 0)
);
docs/entity_model.md{table_name}_seqnpx claudepluginhub ai-unified-process/marketplace --plugin aiup-vaadin-jooqCreates versioned Flyway database migration scripts (V*.sql) with sequences, tables, constraints, and foreign keys from the entity model. Use when the user asks to "create a migration", "generate SQL scripts", "set up database tables", "write a Flyway migration", or mentions schema migration, DB migration, database versioning, or SQL migration files.
Analyzes Flyway SQL migrations and consolidates them into clean, domain-grouped CREATE TABLE migrations for pre-production projects with resettable databases.
Generates safe, reversible database migrations from schema diffs and model changes for PostgreSQL, MySQL, Prisma, Django, Rails, Laravel.