2 ms·
It does indeed look promising! Can it help with migrations? Seeing it has the field definitions right there it should at least be possible. Otherwise I can se
by xorcist 5y ago
It does indeed look promising!
Can it help with migrations? Seeing it has the field definitions right there it should at least be possible.
Otherwise I can see how a system like this could become quite complex over time as the database structure changes.
- Cthulhu_ 5y agoBased on just this article, it looks like it needs a complete table definition to work with. Unless it queries the database for the definitive schema, but that would mean you need a database up and running at compile time.
- xorcist 5y agoI took for granted that sqlc could run all these CREATE TABLEs for you, perhaps that's not the case. It probably should, shouldn't it?