chore(db): clean legacy sql assets and standardize migrations
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 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).
|
||||
Reference in New Issue
Block a user