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

Create Project Type resource #125

Open
s-espinosa opened this issue Jan 10, 2017 · 0 comments
Open

Create Project Type resource #125

s-espinosa opened this issue Jan 10, 2017 · 0 comments
Milestone

Comments

@s-espinosa
Copy link
Owner

s-espinosa commented Jan 10, 2017

Currently project_type is a string that lives on the projects table. This means that for dropdown menus we pass arrays of strings to the views (e.g. in project#new). Would be better to add these as a separate resource with only an id and name.

Will need to create migrations, update methods on project, seed the new table and preserve existing data (in a migration?) prior to removing project_type from the projects table.

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

No branches or pull requests

2 participants