Compare commits

..

1 Commits

Author SHA1 Message Date
alex 3379eac5e7 update path 2024-01-19 19:38:39 +01:00
4 changed files with 3 additions and 14 deletions

View File

@ -4,7 +4,7 @@ import (
"errors"
"strings"
gocnjhelper "git.clickandjoin.umbach.dev/ClickandJoin/go-cnj-helper"
gocnjhelper "git.ex.umbach.dev/ClickandJoin/go-cnj-helper"
"github.com/go-playground/validator/v10"
"github.com/gocql/gocql"
"github.com/gofiber/fiber/v2"

View File

@ -213,19 +213,8 @@ var (
DbMRoomUsers = table.New(table.Metadata{
Name: "room_users",
Columns: []string{
"user_id",
"room_id",
"role",
"joined_at",
},
PartKey: []string{"user_id", "room_id"},
})
DbMRoomUsersHelperPKRoomId = table.New(table.Metadata{
Name: "room_users",
Columns: []string{
"user_id",
"room_id",
"role",
"joined_at",
},

View File

@ -76,8 +76,8 @@ type Room struct {
// TABLE room_users
type RoomUsers struct {
UserId string
RoomId string
UserId string
Role uint8
JoinedAt int64
}

2
go.mod
View File

@ -1,4 +1,4 @@
module git.clickandjoin.umbach.dev/ClickandJoin/go-cnj-helper
module git.ex.umbach.dev/ClickandJoin/go-cnj-helper
go 1.19