This Kotlin file below defines a data class. I need to add a new field.
Please prompt me for the name of the new field.
Then with that information, update the data class, its constructor, and any
functions in this file that use it to handle the new field, including proper
null checks if applicable. If database access is present, generate a migration
function within this file to add the field to the corresponding table.
$CURRENT_FILE
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-08 UTC。"],[],[],null,["# Generic data class modification and potential database migration\n\nAdd a field to a data class.\n\n*** ** * ** ***\n\n This Kotlin file below defines a data class. I need to add a new field.\n\n Please prompt me for the name of the new field.\n\n Then with that information, update the data class, its constructor, and any\n functions in this file that use it to handle the new field, including proper\n null checks if applicable. If database access is present, generate a migration\n function within this file to add the field to the corresponding table.\n\n $CURRENT_FILE\n\n| To run this prompt in Android Studio, click **Gemini** in the sidebar and paste it in the chat field. \n| To save and retrieve prompts in the Studio IDE, go to **Settings \\\u003e Gemini \\\u003e Prompt Library**.\n\n*** ** * ** ***"]]