Fixed profile updated_at timestamp not updating.

This commit is contained in:
DebaucheryLibrarian
2026-03-02 01:14:23 +01:00
parent 156954553d
commit 23257745a7

View File

@@ -351,6 +351,7 @@ function curateProfileEntry(profile) {
tattoos: profile.tattoos,
blood_type: profile.bloodType,
avatar_media_id: profile.avatarMediaId || null,
updated_at: knex.raw('DEFAULT'), // default should be NOW(), this will update the column
};
return curatedProfileEntry;