Page MenuHomeWickedGov Phorge

patch-change-spoofuser-su_legal.json
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

patch-change-spoofuser-su_legal.json

{
"comment": "Change boolean type to mwtinyint to improve postgres support (T298717)",
"before": {
"name": "spoofuser",
"columns": [
{
"name": "su_name",
"comment": "Equivalent to user_name, but not guaranteed to be in sync. Do a join against user_name to confirm that an account hasn't been renamed or deleted away. Unique record per username.",
"type": "string",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "su_normalized",
"comment": "Normalized form of name for similarity-spoofing checks",
"type": "string",
"options": {
"notnull": false,
"length": 255
}
},
{
"name": "su_legal",
"comment": "ok/not-ok according to the looks-like-a-valid-name check",
"type": "boolean",
"options": {
"notnull": false
}
},
{
"name": "su_error",
"comment": "error message that came out of the unicode check, if any",
"type": "text",
"options": {
"notnull": false,
"length": 65530
}
}
],
"indexes": [
{
"name": "su_normname_idx",
"comment": "For checking matching possible spoofs",
"columns": [
"su_normalized",
"su_name"
],
"unique": false
}
],
"pk": [
"su_name"
]
},
"after": {
"name": "spoofuser",
"columns": [
{
"name": "su_name",
"comment": "Equivalent to user_name, but not guaranteed to be in sync. Do a join against user_name to confirm that an account hasn't been renamed or deleted away. Unique record per username.",
"type": "string",
"options": {
"notnull": true,
"length": 255
}
},
{
"name": "su_normalized",
"comment": "Normalized form of name for similarity-spoofing checks",
"type": "string",
"options": {
"notnull": false,
"length": 255
}
},
{
"name": "su_legal",
"comment": "ok/not-ok according to the looks-like-a-valid-name check",
"type": "mwtinyint",
"options": {
"notnull": false,
"length": 1
}
},
{
"name": "su_error",
"comment": "error message that came out of the unicode check, if any",
"type": "text",
"options": {
"notnull": false,
"length": 65530
}
}
],
"indexes": [
{
"name": "su_normname_idx",
"comment": "For checking matching possible spoofs",
"columns": [
"su_normalized",
"su_name"
],
"unique": false
}
],
"pk": [
"su_name"
]
}
}

File Metadata

Mime Type
application/json
Expires
Tue, Aug 18, 18:38 (3 w, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b8/d0/262b7301eb07e40694d471c87533
Default Alt Text
patch-change-spoofuser-su_legal.json (2 KB)

Event Timeline