Skip to content

refactor: rename play_freq to rotation_bin#154

Open
jakebromberg wants to merge 1 commit intomainfrom
refactor/rename-play-freq-to-rotation-bin
Open

refactor: rename play_freq to rotation_bin#154
jakebromberg wants to merge 1 commit intomainfrom
refactor/rename-play-freq-to-rotation-bin

Conversation

@jakebromberg
Copy link
Member

@jakebromberg jakebromberg commented Feb 13, 2026

Summary

  • Rename the play_freq column to rotation_bin in the rotation table to align with api.yaml naming conventions
  • Manual SQL migration that drops and recreates library_artist_view and rotation_library_view (they reference the renamed column)
  • Update all source files, types, tests, seed data, and app.yaml schema definitions

Test plan

  • Unit tests pass (144/144)
  • Integration tests pass
  • Migration tested against dev database

@jakebromberg jakebromberg force-pushed the refactor/rename-play-freq-to-rotation-bin branch 2 times, most recently from 59bd4c3 to 0663daa Compare February 14, 2026 00:09
Rename the play_freq column to rotation_bin in the rotation table to
align with api.yaml naming conventions. Includes manual SQL migration
that drops and recreates library_artist_view and rotation_library_view,
updates all source files, types, tests, and seed data.

Also adds migrations, seed data, and schema to the CI db-init change
detection filter so the db-init image is rebuilt when these change.
@jakebromberg jakebromberg force-pushed the refactor/rename-play-freq-to-rotation-bin branch from 0663daa to 6d0e713 Compare February 14, 2026 01:00
@jakebromberg jakebromberg requested a review from AyBruno February 14, 2026 18:32
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.

1 participant