Ausertung von schleifen und Helperfunktionen ergänzt in extract.py
This commit is contained in:
@@ -337,6 +337,20 @@
|
||||
"method": "__register__",
|
||||
"line": 71,
|
||||
"operations": [
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_cron"
|
||||
],
|
||||
"line": 79,
|
||||
"args": [
|
||||
"column"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.drop_column(column)",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
@@ -800,6 +814,39 @@
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 90,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.minimum_time_delay], [delay], where=sql_table.id == id_)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 90,
|
||||
"args": [
|
||||
"[sql_table.minimum_time_delay]",
|
||||
"[delay]"
|
||||
],
|
||||
"kwargs": {
|
||||
"where": "sql_table.id == id_"
|
||||
},
|
||||
"code": "sql_table.update(\n [sql_table.minimum_time_delay],\n [(datetime.timedelta(hours=delay))],\n where=sql_table.id == id_)",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
|
||||
Reference in New Issue
Block a user