Skip to main content

Org Company

JodGig::Company mapping to Org::Company Attributes

Org::CompanyJodGig::Company (or other source)
idnull
parent_company_idnull
country_idhard code to Singapore's geo_country id in jodapp
namename
primary_addressjodgig_company.address
postal_codeextract postal code from jodgig_company.address
emailuse jodgig_company HQ user's email address if available, else use placeholder
website_urljodgig_company.website_url
descriptionjodgig_company.description
registration_nojodgig_company.registration_no
is_enabledjodgig_company.status
created_bynull, @todo: update this after user is migrated
updated_bynull, @todo: update this after user is migrated
created_atjodgig_company.created_at
updated_atjodgig_company.updated_at
is_deletedjodgig_company.deleted_at.present?
is_deleted_atjodgig_company.deleted_at
address_geo_area_iddetermine general geo_area based on jodgig_company.address
uuidSecureRandom.uuid
logo_original_filenamejodgig_company.company_logo_filename
logo_s3_pathgenerate_s3_path for JodApp after migrating logo from JodGig to JodApp
logo_extension::File.extname(jodgig_company.company_logo_filename)
slugjodgig_company.slug
remote_idjodgig_company.id

Logo File (dated: 9 March 2026)

logo_s3_path are still using JodGig S3's full path, however we should move copy the logo into JodApp S3 so we don't need to keep track on which files are migrated and which are not migrated

can try to use .copy_object to move the file to new path path structure will be public/org/companies/:org-company-uuid/* referenced in s3-setup

To copy the file from can look at JodApp Api Aws::S3::CopyService, need to find out whether it's more difficult to move file between bucket