Dedublizierung gefixt
- lange existierender Updatecode wurde in jeder 2. Version angezeigt - UPDATEANALYSE.md ergänzt.
This commit is contained in:
@@ -9,6 +9,88 @@
|
||||
"method": "__register__",
|
||||
"line": 73,
|
||||
"operations": [
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 74,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 74,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Concat",
|
||||
"tables": [],
|
||||
"line": 83,
|
||||
"args": [
|
||||
"Coalesce(sql_table.street, '')",
|
||||
"Concat('\\n', Coalesce(sql_table.streetbis, ''))"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Concat(\n Coalesce(sql_table.street, ''),\n Concat('\\n', Coalesce(sql_table.streetbis, '')))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('streetbis')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Coalesce",
|
||||
"tables": [],
|
||||
"line": 84,
|
||||
"args": [
|
||||
"sql_table.street",
|
||||
"''"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Coalesce(sql_table.street, '')",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('streetbis')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Concat",
|
||||
"tables": [],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"'\\n'",
|
||||
"Coalesce(sql_table.streetbis, '')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Concat('\\n', Coalesce(sql_table.streetbis, ''))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('streetbis')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Coalesce",
|
||||
"tables": [],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"sql_table.streetbis",
|
||||
"''"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Coalesce(sql_table.streetbis, '')",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('streetbis')"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -64,6 +146,39 @@
|
||||
"method": "__register__",
|
||||
"line": 271,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 272,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 278,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 278,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
@@ -160,6 +275,22 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('language')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Substring",
|
||||
"tables": [],
|
||||
"line": 299,
|
||||
"args": [
|
||||
"language.code",
|
||||
"0",
|
||||
"2"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "Substring(language.code, 0, 2)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('language')"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -213,6 +344,66 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "party",
|
||||
"file": "configuration.py",
|
||||
"class": "_ConfigurationValue",
|
||||
"method": "__register__",
|
||||
"line": 42,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 43,
|
||||
"args": [
|
||||
"'TableHandler'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.get('(backend.get('TableHandler'))')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 44,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 55,
|
||||
"args": [
|
||||
"'party.configuration'",
|
||||
"field_names",
|
||||
"cls",
|
||||
"value_names"
|
||||
],
|
||||
"kwargs": {
|
||||
"fields": "fields"
|
||||
},
|
||||
"code": "migrate_property(\n 'party.configuration', field_names, cls, value_names,\n fields=fields)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist",
|
||||
"via": [
|
||||
{
|
||||
"method": "_migrate_property",
|
||||
"line": 49
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "party",
|
||||
"file": "party.py",
|
||||
@@ -244,6 +435,65 @@
|
||||
"method": "__register__",
|
||||
"line": 278,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 279,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend",
|
||||
"operation": "get",
|
||||
"tables": [],
|
||||
"line": 281,
|
||||
"args": [
|
||||
"'TableHandler'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.get('(backend.get('TableHandler'))')",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 282,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 282,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 283,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "insert",
|
||||
@@ -304,6 +554,32 @@
|
||||
"code": "party_h.drop_column('lang')",
|
||||
"phase": "after_super",
|
||||
"condition": "party_h.column_exist('lang')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "migrate_property",
|
||||
"tables": [],
|
||||
"line": 304,
|
||||
"args": [
|
||||
"'party.party'",
|
||||
"field_names",
|
||||
"cls",
|
||||
"value_names"
|
||||
],
|
||||
"kwargs": {
|
||||
"parent": "'party'",
|
||||
"fields": "fields"
|
||||
},
|
||||
"code": "migrate_property(\n 'party.party', field_names, cls, value_names,\n parent='party', fields=fields)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "not exist",
|
||||
"via": [
|
||||
{
|
||||
"method": "_migrate_property",
|
||||
"line": 298
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -314,6 +590,39 @@
|
||||
"method": "__register__",
|
||||
"line": 439,
|
||||
"operations": [
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Pool",
|
||||
"tables": [],
|
||||
"line": 440,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Pool()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "Transaction().connection",
|
||||
"operation": "cursor",
|
||||
"tables": [],
|
||||
"line": 442,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction().connection.(Transaction().connection.cursor())()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "Transaction",
|
||||
"tables": [],
|
||||
"line": 442,
|
||||
"args": [],
|
||||
"kwargs": {},
|
||||
"code": "Transaction()",
|
||||
"unresolved": true,
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
@@ -348,6 +657,65 @@
|
||||
"phase": "after_super",
|
||||
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "get_cc_module",
|
||||
"tables": [],
|
||||
"line": 460,
|
||||
"args": [
|
||||
"*type.split('_', 1)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "get_cc_module(*type.split('_', 1))",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
||||
},
|
||||
{
|
||||
"object": "type",
|
||||
"operation": "split",
|
||||
"tables": [],
|
||||
"line": 460,
|
||||
"args": [
|
||||
"'_'",
|
||||
"1"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "type.split('_', 1)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
||||
},
|
||||
{
|
||||
"object": "",
|
||||
"operation": "cls",
|
||||
"tables": [],
|
||||
"line": 466,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
"party": "party_id",
|
||||
"code": "code",
|
||||
"type": "type"
|
||||
},
|
||||
"code": "cls(party=party_id, code=code, type=type)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
||||
},
|
||||
{
|
||||
"object": "cls",
|
||||
"operation": "save",
|
||||
"tables": [],
|
||||
"line": 467,
|
||||
"args": [
|
||||
"identifiers"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cls.save(identifiers)",
|
||||
"unresolved": true,
|
||||
"phase": "after_super",
|
||||
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
|
||||
},
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
|
||||
Reference in New Issue
Block a user