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

Add sf_districts table and seed with SF district info #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mmoghaddam385
Copy link

Add sf_districts to the database and add district info to seed data as a first step in #28. There might be a better way to format the district polys (like how they look in the bikeway_networks seed data) but I'm not sure how to do that.

@omegabytes
Copy link
Contributor

This looks good to me, @sahilda or @alex-wood would one of you mind giving it a quick look as well?

@sahilda
Copy link
Member

sahilda commented Jun 13, 2019

This looks good - how do you plan on getting this data into production @mmoghaddam385? Generally we don't reseed prod, so the best bet would be to create a migration that imports your data.

@mmoghaddam385
Copy link
Author

@sahilda Good point, I updated the migration to populate the districts data instead of in the seeds script.

@mmoghaddam385 mmoghaddam385 force-pushed the add_supervisor_districts_to_db branch from f00a802 to 3d9c135 Compare June 27, 2019 03:36
@mmoghaddam385 mmoghaddam385 force-pushed the add_supervisor_districts_to_db branch from 3d9c135 to 8a06858 Compare June 27, 2019 03:37
@sahilda
Copy link
Member

sahilda commented Jun 27, 2019

Sweet! Actually @mmoghaddam385 I would add it to both the seed and to a migration (the seed is useful for dev since we don't run migrations in that environment).

@omegabytes
Copy link
Contributor

@mmoghaddam385 @sahilda can I get an update on this PR? Anything blocking that I can help resolve?

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.

4 participants