Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added external view key data migration for existing invoices#480

Merged
aniketkaushik merged 4 commits intodevelopfrom
data_migration-for-invoices-external_view_key
Jun 15, 2022
Merged

Added external view key data migration for existing invoices#480
aniketkaushik merged 4 commits intodevelopfrom
data_migration-for-invoices-external_view_key

Conversation

@aniketkaushik
Copy link
Contributor

  • Bug fix (non-breaking change which fixes an issue)

Resolve error in staging | undefined method `external_view_key'

@github-actions
Copy link

Current Code Coverage Percent of this PR:

89.24 %

Files having coverage below 100%

Impacted Files Coverage
/lib/custom_failure.rb 80.0 %
/app/controllers/users/invitations_controller.rb 86.36 %
/app/services/invoice_payment/checkout.rb 44.0 %
/app/services/invoice_payment/pdf_generation.rb 70.97 %
/app/controllers/internal_api/v1/companies_controller.rb 95.45 %
/app/controllers/internal_api/v1/profile_controller.rb 96.88 %
/app/controllers/internal_api/v1/payment_settings_controller.rb 93.33 %
/app/controllers/internal_api/v1/wise/recipients_controller.rb 90.0 %
/app/controllers/internal_api/v1/payments/providers_controller.rb 94.74 %
/lib/benchmarking/benchmarker.rb 0.0 %

Copy link
Contributor

@keshavbiswa keshavbiswa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested changes with the messaging.

Copy link
Member

@akhilgkrishnan akhilgkrishnan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please verify manually the changes are reflected in your local or not. You can run the data migration by running ' rails data:migrate'

Copy link
Contributor

@keshavbiswa keshavbiswa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aniketkaushik
Copy link
Contributor Author

aniketkaushik commented Jun 15, 2022

LGTM. Please verify manually the changes are reflected in your local or not. You can run the data migration by running ' rails data:migrate'

yes, it's working

@aniketkaushik aniketkaushik merged commit 027cae9 into develop Jun 15, 2022
@aniketkaushik aniketkaushik deleted the data_migration-for-invoices-external_view_key branch June 15, 2022 10:22
vipulnsward pushed a commit that referenced this pull request Feb 15, 2026
* added external view key data migration for existing invoice

* added verify! to InvoiceDefaultExternalViewKeyVerifier

* updated messages

* minor fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants