On Attribute Getting Updated With Other One

I have two timestamp field in my database. One time stamp attribute is set when I create a user account in my web application while other time stamp field gets update when user changes password. My problem is that the fixed time stamp is getting updated every the other time stamp field is getting updated even though no where in my code I am doing such thing. The first time stamp should remain fixed. Can anyone help me why it is happening?


Please, post your code

Also check if there is a trigger or something similar in your database

Thanks for the reply. I found out source of problem. By mistake I had set fixed timestamp as current_timestamp in database thus whenever some other timestamp gets updated the fixed timestamp value was also updated. A careless mistake from my side.

also check this