16 Oct
2020
16 Oct
'20
11:13 a.m.
On Fri, Oct 16, 2020 at 08:31, Yingji Sun <yingjisun@vmware.com> wrote:
Buddies,
I have a question about updating nova db.
I would like to change the length of internal_access_path in console_auth_tokens, starting from Train. I want to modify nova/db/sqlalchemy/models.py and the migration file under nova/db/sqlalchemy/migrate_repo/versions. However I did not find a placeholder file for Train. 402_add_resources.py is the last one in Train and 403_ is "Add reserved schema migrations for Ussuri".
So how can I do it in Train ?
I think technically you can use 403 for your Train backport as there was no newer migration ever merged. But I hope others more experience with DB migration backporting in Nova can confirm this. Cheers, gibi
Yingji.