Commit 2c22e16
committed
feat: Implement database configuration and migration support
- Updated `.env.example` and `purwa.toml.example` to include database URL configuration options.
- Enhanced `AppConfig` to manage database connection URLs and added a new `DatabaseSection`.
- Integrated SQLx for database operations, including migration functionalities in `purwa-orm`.
- Expanded CLI commands in `empu` for managing database migrations.
- Updated `README.md` to document new database configuration and integration test setup.
- Refined `Cargo.toml` files to include necessary dependencies for SQLx and testcontainers.1 parent 2814a89 commit 2c22e16
22 files changed
Lines changed: 3520 additions & 461 deletions
File tree
- .github/workflows
- purwa-cli
- src
- purwa-core
- src
- tests
- purwa-orm
- src
- tests
- fixtures/migrations
- purwa
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
0 commit comments