-
Notifications
You must be signed in to change notification settings - Fork 63
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
Update drivetime_bands table fields #3377
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nfasulo Changing an existing migration that is merged into production (even if the table is unused) is not going to lead to the change you want if migration has already been run.
This needs to be an additional migration to add these fields (and delete the other one, if that's what needs done and there's no data to lose)
Thanks, @johnpaulashenfelter. Will correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please ensure the migration has been run in production before merging code that references these columns. Migrations are not run automatically during deploys. (forgive me if you know this already, just making sure everyone knows)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of change
Adding min and max values to the drive time bands instead of a single value. This will ensure that we are resilient to future changes to the size of the bands. This table is not yet in use.