19 lines
577 B
Markdown
19 lines
577 B
Markdown
# SQL Directory Guide
|
|
|
|
This project uses Flyway as the single source of truth for schema changes.
|
|
|
|
## Active SQL
|
|
|
|
- `src/main/resources/db/migration/*.sql`: production migrations (required)
|
|
- `database/init/`: MySQL first-init directory (keep minimal)
|
|
|
|
## Optional reference SQL
|
|
|
|
- `database/flowable/`: Flowable engine schema scripts for multiple databases
|
|
- `database/upgrade/`: BladeX cross-database upgrade reference scripts
|
|
|
|
## Cleanup rule
|
|
|
|
- Do not place full database dumps under `database/` root.
|
|
- Keep backups outside repository (off-repo storage or backup system).
|