Files
tryton-db-migration/data/7.4.25/country.json
T

112 lines
3.1 KiB
JSON

{
"version": "7.4.25",
"module": "country",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "Country",
"method": "__register__",
"line": 178,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 187,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
],
"kwargs": {},
"code": "cursor.execute(*data.delete(where=(data.module == 'country') & (data.model == cls.__name__)))",
"phase": "after_super"
},
{
"object": "data",
"operation": "delete",
"line": 187,
"args": [],
"kwargs": {
"where": "(data.module == 'country') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "Subdivision",
"method": "__register__",
"line": 424,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 435,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
],
"kwargs": {},
"code": "cursor.execute(*data.delete(where=(data.module == 'country') & (data.model == cls.__name__)))",
"phase": "after_super"
},
{
"object": "data",
"operation": "delete",
"line": 435,
"args": [],
"kwargs": {
"where": "(data.module == 'country') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
"line": 439,
"args": [
"'type'"
],
"kwargs": {
"action": "'remove'"
},
"code": "table_h.not_null_action('type', action='remove')",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
"line": 442,
"args": [
"'code'"
],
"kwargs": {
"action": "'remove'"
},
"code": "table_h.not_null_action('code', action='remove')",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "PostalCode",
"method": "__register__",
"line": 507,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"line": 511,
"args": [
"'zip'",
"'postal_code'"
],
"kwargs": {},
"code": "table_h.column_rename('zip', 'postal_code')",
"phase": "before_super"
}
]
}
]
}