pgAdmin 4 commit: Move the config database schema version out of the co

Поиск
Список
Период
Сортировка
От Dave Page
Тема pgAdmin 4 commit: Move the config database schema version out of the co
Дата
Msg-id E1bGPdQ-0002Re-G2@gothos.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Murtuza Zabuawala
Дата:
Сообщение: Re: Re: [pgAdmin 4 - Bug #1292] ERROR: template database "!@#$%^&*()_+{}|:"<>?=-\\][';/.," does not exist message throws if template database contain special charterers
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Allow maintenance operations on Index/Primary key/Uni