Convert longer media varchar
fields to text
in the catalog database
#4312
Labels
🗄️ aspect: data
Concerns the data in our catalog and/or databases
🧰 goal: internal improvement
Improvement that benefits maintainers, not users
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: catalog
Related to the catalog and Airflow DAGs
Description
Related #4279, see that issue for the rationale.
Alter the
audio
andimage
tables in the catalog to convert the following fields fromcharacter varying
totext
in the underlying database:foreign_identifier
foreign_landing_url
url
thumbnail
creator
creator_url
title
audio_set_foreign_identifier
(audio only)This will require crafting the migration steps for the catalog database by hand and applying them, then altering the SQL DDL for the tables to reflect this difference. The alters should look like this:
Postgres uses the same underlying storage methods for both these types, so the conversion from one to the other should be extremely fast.
The text was updated successfully, but these errors were encountered: