Skip to content

updated org-admin and plan create pages to reflect schema change - #365

Merged
vyruss merged 2 commits into
DMPRoadmap:developmentfrom
DigitalCurationCentre:xsrust/bugfixes
May 26, 2017
Merged

updated org-admin and plan create pages to reflect schema change#365
vyruss merged 2 commits into
DMPRoadmap:developmentfrom
DigitalCurationCentre:xsrust/bugfixes

Conversation

@xsrust

@xsrust xsrust commented May 26, 2017

Copy link
Copy Markdown
Contributor

Added a new boolean 'migrated' to the templates model

This distinguishes between templates created to fill in the back end of a plan, and those templates which reflect the live data from the org-admin or plan creation interfaces

This is accessed in the templates model by a new scope valid. To get only non-migrated templates, simply being a query with Template.valid and chain your query from there.

@vyruss
vyruss merged commit b293aa4 into DMPRoadmap:development May 26, 2017
@vyruss

vyruss commented May 26, 2017

Copy link
Copy Markdown
Contributor

Make sure to run rake db:migrate after pulling this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants