<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Yes, you need create new migration script. Btw, we already have started doing this.</div><div>The first example was when Jon added ‘neutron’ param to the ‘job_execution’ object:</div><div><a href="https://review.openstack.org/#/c/63517/17/savanna/db/migration/alembic_migrations/versions/002_add_job_exec_extra.py">https://review.openstack.org/#/c/63517/17/savanna/db/migration/alembic_migrations/versions/002_add_job_exec_extra.py</a></div><br><div>
<div>Regards,</div><div>Alexander Ignatov</div><div><br></div><br class="Apple-interchange-newline">

</div>
<br><div><div>On 30 Jan 2014, at 02:25, Andrew Lazarev <<a href="mailto:alazarev@mirantis.com">alazarev@mirantis.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">+1 on new migration script. Just to be <span style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap;">consecutive.</span><div><br></div><div>Andrew.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 2:17 PM, Trevor McKay <span dir="ltr"><<a href="mailto:tmckay@redhat.com" target="_blank">tmckay@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sergey,<br>
<br>
  In <a href="https://review.openstack.org/#/c/69982/1" target="_blank">https://review.openstack.org/#/c/69982/1</a> we are moving the<br>
'main_class' and 'java_opts' fields for a job execution into the<br>
job_configs['configs'] dictionary.  This means that 'main_class' and<br>
'java_opts' don't need to be in the database anymore.<br>
<br>
  These fields were just added in the initial version of the migration<br>
scripts.  The README says that migrations work "from icehouse". Since<br>
this is the initial script, does that mean we can just remove references<br>
to those fields from the db models and the script, or do we need a new<br>
migration script (002) to erase them?<br>
<br>
Thanks,<br>
<br>
Trevor<br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></body></html>