Closed nastasi-oq closed 6 years ago
Change constraint on curve name from 'unique' to 'unique with type_of_assessment'. Migration between old and new version must be performed with:
postgres@machine:~$ pg_dump -a --inserts -t 'vulnerability_*' oqplatform > vulnerability.sql user@machine: ~$ sudo openquakeplatform sqlclear vulnerability | sudo openquakeplatform dbshell user@machine: ~$ sudo pip install -U --no-deps oq-platform/openquakeplatform/ user@machine: ~$ sudo openquakeplatform syncdb postgres@machine:~$ psql oqplatform vulnerability.sql
tests are running here: https://ci.openquake.org/job/zdevel_oq-platform/436/
LGTM if the tests are green
Change constraint on curve name from 'unique' to 'unique with type_of_assessment'. Migration between old and new version must be performed with:
tests are running here: https://ci.openquake.org/job/zdevel_oq-platform/436/