Closed sarayourfriend closed 1 year ago
False alarm, I needed to just rebuild upstream_db
for it to get the new SQL schema files from #2096. No idea why though, as I fully rebuilt my local environment after that PR was merged. After rebuild I also had to just down -v
and reup to get the new schema.
https://github.com/WordPress/openverse/issues/2364 replaces this issue to fix the underlying devex and beyond issue.
Description
Loading sample data fails with this error:
This appears to be related to the
standardized_popularity
addition to the sample data but the upstream_db tables not having that column:https://github.com/WordPress/openverse/pull/2096 adds the new column and sample data but it looks like the upstream db never gets the new column locally for some reason.
Reproduction
Add
exit
after the two calls toload_sample_data "<media type>"
inload_sample_data.sh
to avoid needing to scroll.Screenshots
Environment
Additional context
Critical because this mean tests are running with zero data and are therefore effectively useless.