-
Notifications
You must be signed in to change notification settings - Fork 9
[IMP] change the names of the intermediate databases #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -174,14 +174,14 @@ def _prepare_parameters(ctx): | |
| "odoo/songs/migration_db/odoo_upgrade_env_file" | ||
| ) | ||
| ctx.obj["db_name"] = prod_dump_path.stem | ||
| ctx.obj["db_prod"] = ctx.obj["db_name"] + "_prod" | ||
| ctx.obj["db_prod_fixed"] = ctx.obj["db_name"] + "_prod_fixed" | ||
| ctx.obj["db_odoo_migrated"] = ctx.obj["db_name"] + "_odoo_migrated" | ||
| ctx.obj["db_c2c_core"] = ctx.obj["db_name"] + "_core" | ||
| ctx.obj["db_c2c_external"] = ctx.obj["db_name"] + "_external" | ||
| ctx.obj["db_c2c_local"] = ctx.obj["db_name"] + "_local" | ||
| ctx.obj["db_c2c_cleanup"] = ctx.obj["db_name"] + "_cleanup" | ||
| ctx.obj["db_c2c_migrated"] = ctx.obj["db_name"] + "_c2c_migrated" | ||
| ctx.obj["db_prod"] = ctx.obj["db_name"] + "_1_prod" | ||
| ctx.obj["db_prod_fixed"] = ctx.obj["db_name"] + "_2_prod_fixed" | ||
| ctx.obj["db_odoo_migrated"] = ctx.obj["db_name"] + "_3_odoo_migrated" | ||
| ctx.obj["db_c2c_core"] = ctx.obj["db_name"] + "_4_core" | ||
| ctx.obj["db_c2c_external"] = ctx.obj["db_name"] + "_5_external" | ||
| ctx.obj["db_c2c_local"] = ctx.obj["db_name"] + "_6_local" | ||
| ctx.obj["db_c2c_cleanup"] = ctx.obj["db_name"] + "_7_cleanup" | ||
| ctx.obj["db_c2c_migrated"] = ctx.obj["db_name"] + "_8_c2c_migrated" | ||
|
Comment on lines
+183
to
+184
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In fact, We could rework that for sure, but here better to remove the |
||
| ctx.obj["contract_number"] = ctx.params["contract_number"] | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this parameter is also used to generate the
_odoo_migrated.pgdump file, we'll get a_3_odoo_migrated.pginstead here. Not really an issue that said.