Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(school): move calendarId into db
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBrighi committed Jun 15, 2023
1 parent 39f6c31 commit ec14179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ object LessonAdapter {
toDate = LocalDate.parse(dataFine),
professor = professore,
module = nomeLezione,
calendarId = idCalendario,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ data class Lesson(
@ColumnInfo(name = "to_date")
val toDate: LocalDate,
val professor: String,
@ColumnInfo(name = "calendar_id")
val calendarId: Int,
)

0 comments on commit ec14179

Please sign in to comment.