Skip to content
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

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

norkans7
Copy link
Contributor

No description provided.

@norkans7 norkans7 changed the title Add deployment Add deploymentID, AWS settings, update deps and go to 1.23 Dec 13, 2024
@@ -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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contact UUIDs are V4

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about messages?

Copy link
Contributor Author

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

Copy link
Member

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()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

V4

@rowanseymour rowanseymour merged commit ab97205 into main Dec 13, 2024
4 checks passed
@rowanseymour rowanseymour deleted the add-deployment-ID branch December 13, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants