file.upgrade

Contains upgrade tasks that are executed when the application is being upgraded on the server. See onegov.core.upgrade.upgrade_task.

Functions

add_checksum_column(→ None)

add_image_size(→ None)

add_files_by_type_and_name_index(→ None)

migrate_file_metadata_to_jsonb(→ None)

add_thumbnails_to_pdfs(→ None)

add_publication_dates(→ None)

add_publication_end_dates(→ None)

add_signed_property(→ None)

reclassify_office_documents(→ None)

add_extract_and_pages_column(→ None)

extract_pdf_text_of_existing_files(→ None)

add_signature_metadata_column(→ None)

add_stats_column(→ None)

add_publication_column(→ None)

add_language_column(→ None)

make_file_models_polymorphic_type_non_nullable(→ None)

add_meta_column(→ None)

Module Contents

file.upgrade.add_checksum_column(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_image_size(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_files_by_type_and_name_index(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.migrate_file_metadata_to_jsonb(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_thumbnails_to_pdfs(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_publication_dates(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_publication_end_dates(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_signed_property(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.reclassify_office_documents(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_extract_and_pages_column(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.extract_pdf_text_of_existing_files(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_signature_metadata_column(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_stats_column(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_publication_column(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_language_column(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.make_file_models_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]
file.upgrade.add_meta_column(context: onegov.core.upgrade.UpgradeContext) None[source]