mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-16 01:28:48 +02:00
feat:#65 adjusted missing changes backend migration
This commit is contained in:
@ -39,7 +39,7 @@ lint-data-manager:
|
||||
- cd services/data-manager
|
||||
- go mod download
|
||||
- golangci-lint --version
|
||||
- golangci-lint run -v --skip-dirs=migrations --timeout=5m
|
||||
- golangci-lint run -v --timeout=5m --skip-files='migrations/.*\.go'
|
||||
rules:
|
||||
- changes:
|
||||
- services/data-manager/**/*
|
||||
|
@ -17,7 +17,7 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/pocketbase/pocketbase/models"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"slices"
|
||||
"sort"
|
||||
"strings"
|
||||
@ -69,7 +69,7 @@ type Event struct {
|
||||
BookedAt string `db:"BookedAt" json:"bookedAt"`
|
||||
Course string `db:"course" json:"course"`
|
||||
Semester string `db:"semester" json:"semester"`
|
||||
models.BaseModel
|
||||
core.BaseModel
|
||||
}
|
||||
|
||||
type EventType struct {
|
||||
|
Reference in New Issue
Block a user