AI Unified Process plugin for the Vaadin/jOOQ stack
97
93%
Does it follow best practices?
Impact
98%
1.30xAverage score across 10 eval scenarios
Passed
No known issues
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