Skip to content

BB-876: feat: Add Script model and alias script relationship#338

Open
atharvsp02 wants to merge 1 commit intometabrainz:masterfrom
atharvsp02:BB-876
Open

BB-876: feat: Add Script model and alias script relationship#338
atharvsp02 wants to merge 1 commit intometabrainz:masterfrom
atharvsp02:BB-876

Conversation

@atharvsp02
Copy link
Copy Markdown

Problem

Currently there's no Script model, so aliases don't have a way to store their script. This adds that.

Solution

New Script model for musicbrainz.script table, same pattern as Language. Added script() relationship on Alias model via script_id foreign key. Registered in index.ts.

Areas of Impact

Only the ORM is affected, added a new model and updated alias. script_id is nullable so nothing breaks.

@atharvsp02 atharvsp02 marked this pull request as draft March 31, 2026 14:51
@atharvsp02 atharvsp02 marked this pull request as ready for review April 2, 2026 19:43
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