Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO-202 Mark some UPVS forms as not downloadable #545

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

luciajanikova
Copy link
Member

@luciajanikova luciajanikova commented Feb 5, 2025

Mame zopar UPVS formularov, ktore su specialnymi pripadmi (ORSR formulare), ktore nemaju bezne identifikatory ako zvysne UPVS formulare a nie su dostupne na ulozisku formularov.
Formulare sa ale v GO vyuzivaju a pravidelne stahovanie updateov k formularom nam failuje pri tychto specialitkach. Updaty k nim stahovat standardnym sposobom nechceme.
Chceme, aby nam to nefailovalo, zbytocne nas to "zaslepuje" pred realne problematickymi jobmi.

@luciajanikova luciajanikova requested a review from jsuchal February 5, 2025 13:13
Comment on lines +3 to +5
add_column :upvs_forms, :downloadable, :boolean, default: true

Upvs::Form.where(identifier: ['ks_352538', 'ks_362431']).update_all(downloadable: false)
Copy link
Member

Choose a reason for hiding this comment

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

Pokial toto nedavame do seeds tak je lepsie taketo jednorazove zasahy robit cez konzolu.

@luciajanikova luciajanikova merged commit c89d983 into main Feb 6, 2025
3 checks passed
@luciajanikova luciajanikova deleted the GO-202/add_downloadable_attribute_to_upvs_forms branch February 6, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants