diff --git a/db/migrations/20240526085117_create_chong_wen_baos.cr b/db/migrations/20240526085117_create_chong_wen_baos.cr index b928368..2af3a07 100644 --- a/db/migrations/20240526085117_create_chong_wen_baos.cr +++ b/db/migrations/20240526085117_create_chong_wen_baos.cr @@ -18,7 +18,7 @@ class CreateChongWenBaos::V20240526085117 < Avram::Migrator::Migration::V1 add wen_2021 : Bool, default: false, index: true add wen_2020 : Bool, default: false, index: true - add user_university_remark : String?, index: true + add university_remark : String?, index: true add_belongs_to user : User, on_delete: :cascade add_belongs_to university : University, on_delete: :cascade diff --git a/src/models/chong_wen_bao.cr b/src/models/chong_wen_bao.cr index 2e8ff3c..8d09d93 100644 --- a/src/models/chong_wen_bao.cr +++ b/src/models/chong_wen_bao.cr @@ -12,7 +12,7 @@ class ChongWenBao < BaseModel column chong_2020 : Bool = false column wen_2020 : Bool = false column bao_2020 : Bool = false - column user_university_remark : String? + column university_remark : String? belongs_to user : User belongs_to university : University