[issue2551310] Skip database creation if one is already created

Ivanov <[email protected]> Wed, 20 Dec 2023 22:36:53 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from Ivanov:

Currently, Roundup attempts to drop a database when you call the 'init'
command in the admin console if the database has already been created.
This requires additional permissions to database user/role, which will
only really be used once.

This does not take into account that the database may have been
intentionally created in advance or that the database user may not have
the necessary privileges. In fact, the same logic is used for server
based databases and for sqlite/anydbm.

This discussion was started in issue2551299. A new issue has been opened
because the database creation bypass is not specific to postgresql.

----------
messages: 7909
nosy: ivanov
severity: normal
status: new
title: Skip database creation if one is already created

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551310>
_________________________________________________