Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sqlite): add table and column information to sync schema (#582)
* feat(test): add test for sql execute and check database schema * feat: address comment * feat(test): add initial stub for fake gitlab * feat(test): add test for creating repository and fake createProjectHook * refactor: get rid of QueryParams and move some queries to database drivers * refactor: move insert history logic into its functor * feat(test): add test for simulating basic gitlab commit * feat: address comment * feat(test): implement test for vcs schema update, and fixed a few VCS flow bugs * feat: address comment * feat: address comment * feat: address comment * feat: address comment * feat: address comment * refactor: some refactoring of moving common code to helper functions * feat(test): add test for tenant schema update * Update tests/tenant_test.go Co-authored-by: tianzhou <t@bytebase.com> * Update tests/tenant_test.go Co-authored-by: tianzhou <t@bytebase.com> * feat: address comment * feat(test): test tenant schema update with VCS * feat: address comment * feat: address comment * feat: address comment * feat: address comment * feat: address comment * feat: address comment * feat(test): add tenant test for cases with database name template * feat(test): use temp for data directory otherwise files will be in tests code directory * fix(543): migrate clickhouse driver to v2.0.7 * refactor: enable parallel test so that testing can scale * feat: address comment * fix: wait for all runners to finish before we shutdown the server; otherwise, we will get database is closed error from runner when we shutdown the server * feat: address comment * fix(tenancy): disallow ENV_NAME token in file path template for projects in tenant mode * fix: address comment * refactor: fix lint warnings * refactor: re-enable errcheck in golinter * refactor: re-enable errcheck in golinter * refactor: re-enable errcheck in golinter * refactor: enable errcheck * refactor: enable errcheck * refactor: enable errcheck * refactor: enable errcheck lint * Update server/instance.go Co-authored-by: tianzhou <t@bytebase.com> * Update server/instance.go Co-authored-by: tianzhou <t@bytebase.com> * refactor: fix some lint warnings * feat(test): add test for migration history * Update tests/schema_update_test.go Co-authored-by: tianzhou <t@bytebase.com> * feat: address comment * feat: small change * feat: address comment * feat(sqlite): add table and column information to sync schema Co-authored-by: tianzhou <t@bytebase.com>
- Loading branch information