Public Access
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
{
|
|||
|
|
"version": "5.0",
|
||
|
|
"module": "res",
|
||
|
|
"files": [
|
||
|
|
{
|
||
|
|
"file": "/home/uha4/tmp/tryton/trytond/trytond/res/user.py",
|
||
|
|
"class": "User",
|
||
|
|
"method": "__register__",
|
||
|
|
"line": 200,
|
||
|
|
"operations": [
|
||
|
|
{
|
||
|
|
"object": "cursor",
|
||
|
|
"operation": "execute",
|
||
|
|
"line": 210,
|
||
|
|
"args": [
|
||
|
|
"*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])"
|
||
|
|
],
|
||
|
|
"kwargs": {},
|
||
|
|
"code": "cursor.execute(*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new]))",
|
||
|
|
"phase": "after_super",
|
||
|
|
"condition": "table.column_exist('password') and table.column_exist('salt')"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "sqltable",
|
||
|
|
"operation": "update",
|
||
|
|
"line": 210,
|
||
|
|
"args": [],
|
||
|
|
"kwargs": {
|
||
|
|
"columns": "[sqltable.password_hash]",
|
||
|
|
"values": "[password_hash_new]"
|
||
|
|
},
|
||
|
|
"code": "sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])",
|
||
|
|
"phase": "after_super",
|
||
|
|
"condition": "table.column_exist('password') and table.column_exist('salt')"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "table",
|
||
|
|
"operation": "drop_column",
|
||
|
|
"line": 213,
|
||
|
|
"args": [
|
||
|
|
"'password'"
|
||
|
|
],
|
||
|
|
"kwargs": {},
|
||
|
|
"code": "table.drop_column('password')",
|
||
|
|
"phase": "after_super",
|
||
|
|
"condition": "table.column_exist('password') and table.column_exist('salt')"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "table",
|
||
|
|
"operation": "drop_column",
|
||
|
|
"line": 214,
|
||
|
|
"args": [
|
||
|
|
"'salt'"
|
||
|
|
],
|
||
|
|
"kwargs": {},
|
||
|
|
"code": "table.drop_column('salt')",
|
||
|
|
"phase": "after_super",
|
||
|
|
"condition": "table.column_exist('password') and table.column_exist('salt')"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"object": "table",
|
||
|
|
"operation": "not_null_action",
|
||
|
|
"line": 217,
|
||
|
|
"args": [
|
||
|
|
"'name'"
|
||
|
|
],
|
||
|
|
"kwargs": {
|
||
|
|
"action": "'remove'"
|
||
|
|
},
|
||
|
|
"code": "table.not_null_action('name', action='remove')",
|
||
|
|
"phase": "after_super"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|