Cian Johnston
e57ca3cdaa
feat(scripts): add script to check schema between migrations ( #13037 )
...
- migrations: allow passing in a custom migrate.FS
- gen/dump: extract some functions to dbtestutil
- scripts: write script to test migrations
2024-04-23 12:43:14 +01:00
Cian Johnston
5454f4997b
chore(ci): clean up databases after test finishes in CI ( #12702 )
2024-03-21 14:53:16 +00:00
Marcin Tojek
cae769eac0
fix: implicit schema in dump ( #12646 )
2024-03-18 16:25:08 +01:00
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Dean Sheather
c60ea38691
chore: use gcr.io for postgres image in CI ( #7935 )
2023-06-09 13:39:55 +00:00
Mathias Fredriksson
4885ecc3ad
fix: Allow dumping db with pg_dump, utilize make cache ( #4964 )
2022-11-10 12:54:47 +02:00
Marcin Tojek
3f6c4486f7
Allow changing db schema from public ( #4873 )
...
* Remove public schema from enum defs
* Update queries
* Fix
2022-11-04 09:15:17 +01:00
Dean Sheather
29d804e692
feat: add API key scopes and application_connect scope ( #4067 )
2022-09-19 17:39:02 +00:00
Mathias Fredriksson
dc9b4155e0
feat: Generate DB unique constraints as enums ( #3701 )
...
* feat: Generate DB unique constraints as enums
This fixes a TODO from #3409 .
2022-08-29 14:56:51 +03:00