mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Cleanup some code smells identified by SonarQube.
This commit is contained in:
@@ -222,10 +222,6 @@ def upgrade():
|
||||
sql = "INSERT INTO keys (name, value) VALUES ('SECURITY_PASSWORD_SALT', 'SuperSecret3')"
|
||||
db.engine.execute(sql)
|
||||
|
||||
# Finally, update the schema version
|
||||
|
||||
# version.value = config.SETTINGS_SCHEMA_VERSION
|
||||
|
||||
db.engine.execute(
|
||||
'UPDATE version set value="%s" WHERE name = "ConfigDB"' % config.SETTINGS_SCHEMA_VERSION
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user