db.WriteParticipant erstellt und dazu alle IDs von int auf int64 umgestellt
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
package types
|
||||
|
||||
type Person struct {
|
||||
ID int
|
||||
ID int64
|
||||
FirstName string
|
||||
LastName string
|
||||
}
|
||||
@ -14,31 +14,31 @@ type Participant struct {
|
||||
}
|
||||
|
||||
type Briefing struct {
|
||||
ID int
|
||||
ID int64
|
||||
Date string
|
||||
Time string
|
||||
Location string
|
||||
DocumentName string
|
||||
AsOf string
|
||||
InstructorID int
|
||||
InstructorID int64
|
||||
}
|
||||
|
||||
type Answer struct {
|
||||
ID int
|
||||
ID int64
|
||||
Text string
|
||||
}
|
||||
|
||||
type Question struct {
|
||||
ID int
|
||||
ID int64
|
||||
Text string
|
||||
Answers []Answer
|
||||
Correct int
|
||||
}
|
||||
|
||||
type GivenAnswer struct {
|
||||
BriefingID int
|
||||
ParticipantID int
|
||||
QuestionID int
|
||||
BriefingID int64
|
||||
ParticipantID int64
|
||||
QuestionID int64
|
||||
GivenAnswer int
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user