<div dir="ltr">David, <div><br></div><div>Btw it is my code ;), and in the same way we will implement alters in Alembic. </div><div><br></div><div>Best regards,</div><div>Boris Pavlovic</div><div><br></div><div><br></div><div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 10:09 PM, David Ripton <span dir="ltr"><<a href="mailto:dripton@redhat.com" target="_blank">dripton@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 07/16/2013 12:09 PM, Dolph Mathews wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
On Tue, Jul 16, 2013 at 10:51 AM, Roman Podolyaka<br></div>
<<a href="mailto:rpodolyaka@mirantis.com" target="_blank">rpodolyaka@mirantis.com</a> <mailto:<a href="mailto:rpodolyaka@mirantis.com" target="_blank">rpodolyaka@mirantis.<u></u>com</a>>> wrote:<br>
</blockquote><div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We are going to implement ALTER support in Alembic for SQLite in the<br>
next few weeks.<br>
<br>
<br>
I'm a little lost on this ... sqlite doesn't support ALTER, so what<br>
exactly is being added to alembic? Is the alembic community receptive or<br>
interested?<br>
</blockquote>
<br></div>
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.<br>
<br>
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.<div class="im HOEnZb">
<br>
<br>
-- <br>
David Ripton Red Hat <a href="mailto:dripton@redhat.com" target="_blank">dripton@redhat.com</a><br>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br></div>