[3.5] Backport of "OP-2784 Fixed db corruption when running oaconfig install
"
Former user
Branch: Deleted repository:3.5-OP-2784
Branch: openattic/openattic:3.5
Merged
Merged pull request
Merged in sebastian-wagner/openattic/3.5-OP-2784 (pull request #701)
https://bitbucket.org/openattic/openattic/pull-requests/673/op-2784-fixed-db-corruption-when-running/diff
Database corruption when running
oaconfig install
: oA User creation will fail once (OP-2784)Fixes the database migration for Django 1.6 by setting the sequence correctly after the database has been dropped and the saved data has been restored.
Signed-off-by: Patrick Nawracay pnawracay@suse.com
Database corruption when running
oaconfig install
: oA User creation will fail once (OP-2784)Add unit tests.
Signed-off-by: Patrick Nawracay pnawracay@suse.com Signed-off-by: Sebastian Wagner sebastian.wagner@suse.com