Files
tryton-db-migration/data/5.4/production.json
T

62 lines
2.0 KiB
JSON
Raw Normal View History

2026-08-07 22:27:49 +02:00
{
2026-08-08 01:29:43 +02:00
"version": "5.4",
2026-08-07 22:27:49 +02:00
"module": "production",
"files": [
{
"module": "production",
"file": "production.py",
2026-08-07 22:27:49 +02:00
"class": "Production",
"method": "__register__",
"line": 222,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
2026-08-07 22:27:49 +02:00
"line": 228,
"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"
],
2026-08-07 22:27:49 +02:00
"line": 234,
"args": [
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"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)))",
2026-08-07 22:27:49 +02:00
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"production"
],
2026-08-07 22:27:49 +02:00
"line": 234,
"args": [
"[table.planned_start_date]",
"[table.planned_date]"
],
"kwargs": {
"where": "(table.planned_start_date == Null) & (table.planned_date != Null)"
},
2026-08-09 00:47:23 +02:00
"code": "table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null))",
2026-08-07 22:27:49 +02:00
"phase": "after_super"
}
]
}
]
}