Public Access
62 lines
2.0 KiB
JSON
62 lines
2.0 KiB
JSON
{
|
|
"version": "5.0",
|
|
"module": "production",
|
|
"files": [
|
|
{
|
|
"module": "production",
|
|
"file": "production.py",
|
|
"class": "Production",
|
|
"method": "__register__",
|
|
"line": 224,
|
|
"operations": [
|
|
{
|
|
"object": "table_h",
|
|
"operation": "column_rename",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 230,
|
|
"args": [
|
|
"'code'",
|
|
"'number'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.column_rename('code', 'number')",
|
|
"phase": "before_super",
|
|
"condition": "table_h.column_exist('code')"
|
|
},
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 236,
|
|
"args": [
|
|
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
|
|
],
|
|
"kwargs": {},
|
|
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null)))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 236,
|
|
"args": [
|
|
"[table.planned_start_date]",
|
|
"[table.planned_date]"
|
|
],
|
|
"kwargs": {
|
|
"where": "(table.planned_start_date == Null) & (table.planned_date != Null)"
|
|
},
|
|
"code": "table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null))",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |