Re: [patch] Move to Alembic migration system

From: Joao Pedro De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io>
To: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Oliver Switzer <oswitzer(at)pivotal(dot)io>
Subject: Re: [patch] Move to Alembic migration system
Date: 2017-04-21 14:29:41
Message-ID: CAE+jjam19Xr=ZrVy3sWR1Z5CDEbRUDOFjRR8HjOpeN7Ku_OhrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello Hackers,

We review the patch, just noticed a spelling issue so we regenerated the
patch.

Thanks
Joao & Oliver

On Fri, Apr 21, 2017 at 1:21 AM, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com
> wrote:

> Hi Joao & Oliver,
>
> On Fri, Apr 21, 2017 at 3:39 AM, Joao Pedro De Almeida Pereira <
> jdealmeidapereira(at)pivotal(dot)io> wrote:
>
>> Hello Hackers,
>>
>> @Ashesh thanks for the feedback
>>
>> Here is the reviewed patch with the suggestions of Ashesh.
>>
>> Disclaimer: We added a new patch file with the changes
>>
>
> I have made some more changes to the patch.
> - 'with app.app_context(..)' statement was not required in the
> 'web/pgadmin/__init__.py' as we're already doing that in the do_upgrade
> function.
> - We also need to create other directories (i.e. sessions, storage,
> directory containing the log-file) during the setup/running the application
> (if not exists).
> - Added proper check in the pgAdmin4.wsgi file (if configuration file
> exists, or not)
>
> Please review it.
>
> -- Thanks, Ashesh
>
>

Attachment Content-Type Size
0001-Switch-to-Alembic-and-Flask-migration-db-migration-s.patch application/octet-stream 48.7 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Josh Berkus 2017-04-21 16:56:29 Re: Some questions about configuration and the pgadmin4-v1-web package
Previous Message Akshay Joshi 2017-04-21 12:02:01 [pgAdmin4][Patch]: RM #2214 PostgreSQL 10.0 compatibility