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.
npx claudepluginhub martinellich/aiup-marketplaceThis skill uses the workspace's default tool permissions.
Create Flyway database migration scripts based on `docs/entity_model.md`.
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.
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.
Share bugs, ideas, or general feedback.
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}_seq