Commit 57e37cc
committed
fix: revert async Canyon API and remove pool initialization from macro
- Revert Canyon::get_connection and get_default_connection back to synchronous
- Remove pool import from Canyon since it's not being used yet
- Fix compilation errors by reverting async changes in macros and migrations
- The pool implementation exists but is not integrated into the main flow yet
The current issue is that the macro is trying to initialize database connections
during compilation, which is causing connection errors. The pool should only
be used at runtime, not during macro expansion.1 parent 291fb6e commit 57e37cc
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments