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

feat: migration rename columns in gas_bills table #166

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zz-hh-aa
Copy link
Collaborator

@zz-hh-aa zz-hh-aa commented Dec 11, 2024

What does this PR do?

  • Creates a new migration renaming some of the gas_bills columns
  • Updates the schema accordingly

Why?

I was starting on the data update migration and realised the shape of the gas bills data will change. It seemed like this would need to happen in two steps anyway (data change and schema change) so I figured we could rename the columns first, as the supplied CSVs are already in the next shape.

Questions

...do I need to update the tests to get everything passing even if we're just about to update the data anyway? 😅

@zz-hh-aa zz-hh-aa requested a review from a team December 11, 2024 15:51
Copy link

vercel bot commented Dec 11, 2024

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

Name Status Preview Comments Updated (UTC)
fairhold-dashboard ❌ Failed (Inspect) Dec 13, 2024 2:58pm

Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once small comment!

prisma/schema.prisma Outdated Show resolved Hide resolved
Co-authored-by: Dafydd Llŷr Pearson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants