Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(backend): setup migrations infra #213

Merged
merged 7 commits into from
Nov 17, 2023
Merged

chore(backend): setup migrations infra #213

merged 7 commits into from
Nov 17, 2023

Conversation

detj
Copy link
Contributor

@detj detj commented Nov 17, 2023

Task Summary

  • Setup migration infra for Postgres compatible with dbmate
  • Setup migration infra for Clickhouse compatible with dbmate
  • Update existing APIs so that they continue to work post migrations
  • Update docker-compose.yml to use the updated schema while building images
  • Remove older handwritten sql queries
  • Update documentation on running migrations

detj added 2 commits November 17, 2023 11:37
- add support for dbmate migrations for postgres
- add support for dbmate migrations for clickhouse
- change events table name as per new name with new migrations infra
@detj detj self-assigned this Nov 17, 2023
Copy link

vercel bot commented Nov 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
measure ⬜️ Ignored (Inspect) Visit Preview Nov 17, 2023 9:23am

detj added 5 commits November 17, 2023 12:02
- change column `app_id` to `app_unique_id` in `mapping_files` relation
- remove unused postgres instance from docker compose
- add info about running postgres migrations
- add info about running clickhouse migrations
- remove unneeded old files
@detj detj requested review from abhaysood and anupcowkur and removed request for abhaysood November 17, 2023 09:25
@detj detj merged commit 173a73f into main Nov 17, 2023
7 checks passed
@detj detj deleted the migrations branch November 17, 2023 09:32
@detj detj mentioned this pull request Nov 17, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants