pgAdmin 4 commit: Move the config database schema version out of the co - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Move the config database schema version out of the co
Date
Msg-id E1bGPdQ-0002Re-G2@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Move the config database schema version out of the configuration file and into the model class.

Turns out using the config file isn't a good idea if users copy config.py to config_local.py, as it prevents upgrades
tothe database. This has the added side-effect of simplifying future changes, as you only need to edit 2 files to
modifythe config DB now, not 3. 

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d63b54610b8b70aae781196a5acee24e4f39c307

Modified Files
--------------
web/config.py                 |  4 ----
web/pgAdmin4.py               |  5 +++++
web/pgadmin/model/__init__.py | 18 +++++++++++++++++-
web/setup.py                  |  5 +++++
4 files changed, 27 insertions(+), 5 deletions(-)


pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: Re: [pgAdmin 4 - Bug #1292] ERROR: template database "!@#$%^&*()_+{}|:"<>?=-\\][';/.," does not exist message throws if template database contain special charterers
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Allow maintenance operations on Index/Primary key/Uni