[pgAdmin][RM-6460]: Need a mechanism to detect a corrupt/broken config DB file.

Поиск
Список
Период
Сортировка
От Nikhil Mohite
Тема [pgAdmin][RM-6460]: Need a mechanism to detect a corrupt/broken config DB file.
Дата
Msg-id CAOBg0AOa4EfDwph4Ba2=GV4SSnLJ8vxtqdb=zt8koQNAwuNy9w@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin][RM-6460]: Need a mechanism to detect a corrupt/broken config DB file.  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi Hackers,

Please find the attached patch for RM-6460:  Need a mechanism to detect a corrupt/broken config DB file.

1. Added checks if all tables added in the model are present in SQLite DB or not.
2. If migrations fail it will backup older file and try migrations with the newly created file. 
(User will get notification on UI for the location of the backup file and newly created.)
3. If the user deleted any table from SQLite DB pgAdmin will not run on the next restart and it will add the missing table list in the logs.

--
Thanks & Regards,
Nikhil Mohite
Software Engineer.
Mob.No: +91-7798364578.
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Rahul Shirsat
Дата:
Сообщение: [patch][pgAdmin] RM1591 [Web Based] Grant Wizard should also add under package node
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin][RM-6460]: Need a mechanism to detect a corrupt/broken config DB file.