Professional Documents
Culture Documents
Flyway - GISTA Universe Documentation
Flyway - GISTA Universe Documentation
Flyway
Berikut implementation constraint ketika membuat script flyway migration:
1. Flyway script must be re-runnable / idempotent (eg : before create table also check if exists
first)
2. During the first step of development processes to initialize the database group each flyway
script with the correlated tables or by its logical grouping
- Standard Flyway script naming convention for ddl views, procedures, functions and packages
operations, naming convention for db object : views (v), procedures (sp), functions (fn)
R__[order grouping]_[operations (create/alter/etc)]_[db_object]_[short_description].sql
eg: R__000_Create_sp_otorisasi_cabang.sql