3 ms·
The way I prefer to use sqlc is in combination with a schema migration framework like goose. It actually is able to read the migration files and infer the schem
by jchw 1y ago
The way I prefer to use sqlc is in combination with a schema migration framework like goose. It actually is able to read the migration files and infer the schema directly without needing an actual database. This seems to work well in production.
- bbkane 1y agoThat's how I'm using it as well (though I'm using some simple migration code instead of a framework): https://github.com/bbkane/enventory/tree/master/app/sqliteconnect https://github.com/bbkane/enventory/tree/master/app/sqliteco... I've been quite happy with this setup!