-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deploymentID, AWS settings, update deps and go to 1.23 #18
Conversation
testsuite/testdata.go
Outdated
@@ -31,7 +31,7 @@ func InsertChannel(rt *runtime.Runtime, uuid models.ChannelUUID, orgID models.Or | |||
func InsertContact(rt *runtime.Runtime, orgID models.OrgID, name string) models.ContactID { | |||
row := rt.DB.QueryRow( | |||
`INSERT INTO contacts_contact(uuid, org_id, name, status, ticket_count, is_active, created_on, modified_on) | |||
VALUES($1, $2, $3, 'A', 1, TRUE, NOW(), NOW()) RETURNING id`, uuids.New(), orgID, name, | |||
VALUES($1, $2, $3, 'A', 1, TRUE, NOW(), NOW()) RETURNING id`, uuids.NewV7(), orgID, name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contact UUIDs are V4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about messages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found v7 is used for channel logs only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should probably switch messages... but yeah for now it's only channel logs
web/client.go
Outdated
@@ -30,7 +30,7 @@ type Client struct { | |||
|
|||
func NewClient(s *Server, sock httpx.WebSocket, channel *models.Channel) *Client { | |||
c := &Client{ | |||
id: string(uuids.New()), | |||
id: string(uuids.NewV7()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
V4
f037db4
to
0d40d03
Compare
No description provided.