[openstack-dev] [DB][Migrations] Switching to using of Alembic

Boris Pavlovic boris at pavlovic.me
Tue Jul 16 18:49:49 UTC 2013


Btw it is my code ;), and in the same way we will implement alters in

Best regards,
Boris Pavlovic

On Tue, Jul 16, 2013 at 10:09 PM, David Ripton <dripton at redhat.com> wrote:

> On 07/16/2013 12:09 PM, Dolph Mathews wrote:
>> On Tue, Jul 16, 2013 at 10:51 AM, Roman Podolyaka
>> <rpodolyaka at mirantis.com <mailto:rpodolyaka at mirantis.**com<rpodolyaka at mirantis.com>>>
>> wrote:
>      We are going to implement ALTER support in Alembic for SQLite in the
>>     next few weeks.
>> I'm a little lost on this ... sqlite doesn't support ALTER, so what
>> exactly is being added to alembic? Is the alembic community receptive or
>> interested?
> There is some code in Nova (on its way into Oslo) to work around not being
> able to alter tables in SQLite.  It deletes the old table and adds the
> modified version as a new table.  That's the best you can do without
> modifying SQLite itself.
> The Alembic README specifically mentions this SQLite issue and says "we
> will support these features provided someone takes the initiative to
> implement and test".  So, yeah, he'll take these patches.  Means we'll need
> to use the future version of Alembic with this feature, though.
> --
> David Ripton   Red Hat   dripton at redhat.com
> ______________________________**_________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.**org <OpenStack-dev at lists.openstack.org>
> http://lists.openstack.org/**cgi-bin/mailman/listinfo/**openstack-dev<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130716/4f07df9d/attachment.html>

More information about the OpenStack-dev mailing list