Project

General

Profile

what is the issue.lock_version field ?

Added by Sylvain Aubert over 7 years ago

Hello

I'm working on a python script to migrate a flyspray database to a redmine database.
So my script is directly inserting data in the issues table.

I dont see exactly what the lock_version field is in that table ? Does someone has more intel on it ?

Thank you


Replies (2)

RE: what is the issue.lock_version field ? - Added by Marwan Rawajfeh over 5 years ago

Sylvain Aubert wrote:

Hello

I'm working on a python script to migrate a flyspray database to a redmine database.
So my script is directly inserting data in the issues table.

I dont see exactly what the lock_version field is in that table ? Does someone has more intel on it ?

Thank you

Why no one responded to this ? I had the same question.

RE: what is the issue.lock_version field ? - Added by Go MAEDA over 5 years ago

The lock_version column is used for locking by Ruby on Rails framework. You can read details about lock_version on the following page:
https://guides.rubyonrails.org/active_record_querying.html#optimistic-locking

Why no one responded to this ? I had the same question.

Please understand that everyone here is answering questions in there spare time. No one gets a salary for the work. Sometimes people can not/don't answer if they don't have enough time or an interest in the topic.

    (1-2/2)