Skip to content

Instantly share code, notes, and snippets.

@kovenko
Last active May 18, 2020 15:21
Show Gist options
  • Save kovenko/de2ac0786cbdcbd015eb61ec8a5fa7a9 to your computer and use it in GitHub Desktop.
Save kovenko/de2ac0786cbdcbd015eb61ec8a5fa7a9 to your computer and use it in GitHub Desktop.
12832
по п.1
INSERT
user_id = 231704, created_at = 2020-04-08 11:02:38
{
"uid": {"n": "3605845", "o": null},
"stage_id": {"n": "2376", "o": null},
"created_at": {"n": "2020-04-08 11:02:38", "o": null},
"geo_tag_id": {"n": "2325450", "o": null},
"quarters_id": {"n": "11457020", "o": null},
"residents_count": {"n": "1", "o": null},
"redemption_amount": {"n": "2623.50", "o": null},
"is_resident_consent": {"n": "f", "o": null},
"resettlement_type_id": {"n": "612", "o": null},
"resettlement_program_id": {"n": "219", "o": null},
"planned_providing_area_square": {"n": "45.60", "o": null},
"planned_providing_rooms_count": {"n": "2", "o": null}
}
UPDATE
user_id = 241329, created_at = 2020-04-21 11:09:40
{
"stage_id": {"n": "2194", "o": "2376"},
"resettlement_program_id": {"n": null, "o": "219"}
}
Из лога видно, что запись была обновлена пользователем user_id = 241329 21-04-2020
по п.2
house_resettlements.id: 3605697, user_id 98909, created_at 2019-12-18 12:57:39
{
"stage_id": "2194",
"created_at": "2019-12-18 12:57:39",
"quarters_id": "8994577",
"is_resident_consent": "n": "f"
}
house_resettlements.id: 3618944, user_id 98909, created_at 2019-12-23 13:08:22
{
"stage_id": "2194",
"created_at": "2019-12-23 13:08:22",
"quarters_id": "9130684",
"is_resident_consent": "n": "f"
}
house_resettlements.id: 3618945, user_id 98909, created_at 2019-12-23 13:08:22
{
"stage_id": "2194",
"created_at": "2019-12-18 12:57:39",
"quarters_id": "9130692",
"is_resident_consent": "f"
}
house_resettlements.id: 3710064, user_id 98909, created_at 2019-12-26 14:18:13
{
"stage_id": "2194",
"created_at": "2019-12-26 14:18:13",
"quarters_id": "9299242",
"is_resident_consent": "f"
}
house_resettlements.id: 3870144, user_id 228667, created_at 2019-12-28 14:40:36
{
"stage_id": "2194",
"created_at": "2019-12-23 13:08:22",
"quarters_id": "9586703",
"is_resident_consent": "f"
}
house_resettlements.id: 4694203, user_id 231704, created_at 2020-04-06 12:53:39
{
"uid": "3605697",
"stage_id": "2194",
"created_at": "2020-04-06 12:53:39",
"quarters_id": "11285460",
"is_resident_consent": "f",
"resettlement_type_id": "611"
}
house_resettlements.id: 4710064, user_id 228667, created_at 2020-04-06 19:02:44
{
"uid": "3605697",
"stage_id": "2194",
"created_at": "2019-12-26 14:18:13",
"quarters_id": "11320164",
"is_resident_consent": "f",
"resettlement_type_id": "611"
}
house_resettlements.id: 4771617, user_id 231704, created_at 2020-04-08 11:02:38
{
"uid": "3605697",
"stage_id": "2194",
"created_at": "2020-04-08 11:02:38",
"quarters_id": "11458778",
"is_resident_consent": "f",
"resettlement_type_id": "611"
}
house_resettlements.id: 4781814, user_id 228667, created_at 2020-04-08 16:34:03
{
"uid": "3605697",
"stage_id": "2194",
"created_at": "2020-04-06 12:53:39",
"quarters_id": "11491360",
"is_resident_consent": "f",
"resettlement_type_id": "611"
}
Из лога видно, какие данные были внесены пользователями
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment