logo

#How to import users and referrals to Barong database

  1. Create csv file for users and referrals with template.

Users table

uidemaillevelrolestatereferral_uid
ID1000003837[email protected]3superadminactiveID1000003828

uid, email - require params

  1. For import users
   bundle exec rake import:users['file_name.csv']
  1. For import referrals
  bundle exec rake import:referrals['file_name.csv']