To migrate the database you need to:
- Add flyway migration files
- run
mvn flyway:migrate jooq-codegen:generate
- stage changes in jooq generated directory into git
- Remove unneeded columns so that we won't go OOM if using in-memory h2
- Move most comma separated columns to a one-to-many table so that we could use regular index instead of full text index
- Add e2e tests
- Benchmark Quarkus reactive and maybe R2DBC implementations to find which performs best
- Since the DB is updated daily we could prefetch or change the tables so that queries are executed as fast as possible