Is it okay to change the value of id of ecommerce_worker user in auth_user table in edxapp database?

8 views
Skip to first unread message

Supriya Tambe

unread,
Dec 19, 2017, 12:55:56 AM12/19/17
to General Open edX discussion
Hi,
I have ported the data from earlier release to Ficus.4.
Earlier, ecommerce_worker was not present in the auth_user table.

In Ficus.4, we want to enable ecommerce. So ecommerce service has to be installed. But I discovered that the user_id assigned to Ecommerce_worker is 1. However, in the ported data, value of 1 is already assigned to another user. My question is: How should I handle the value of user_id of ecommerce_worker user? Can I insert this user  manually with user_id set to (auth_user record count + 1) without breaking the code?
Is it mandatory to have 1(or whatever value is assigned during installation of Ficus.4) as user_id for ecommerce_worker user? I have this same concern for other users which are created for services like programs, dashboard, analytics.

Any inputs will be highly appreciated.

Thanks in advance.


Reply all
Reply to author
Forward
0 new messages