Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove query tables. Use a standard sql approach storing all possible fields as columns.
Add sqlg package that provides code generators, db, lock and a db manager for setup/migration.
Future migrations could be done with the new migration logic and won't require a conversion from an export but will be done directly on the database.
Added migration command to migrate from an export of the db schema available in master (at commit 248a9e0) in addition to the one already available to migrate from v0.7.x. To define if the source export is the one at v0.7.x or at commit 248a9e0 the migrate command provides a "--source-version" option.
Run test for both sqlite3 and postgres databases