Skip to content

Commit

Permalink
Re-generate queries, fix misnamed table
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhuaaa committed Aug 29, 2024
1 parent a3fd33e commit 174cb80
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pkg/migrations/mls/20240829001344_serial-ids.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CREATE FUNCTION insert_welcome_message(installation_key BYTEA, data BYTEA, insta
BEGIN
PERFORM
pg_advisory_xact_lock(hashtext('welcome_messages_sequence'));
RETURN QUERY INSERT INTO group_messages(installation_key, data, installation_key_data_hash, hpke_public_key)
RETURN QUERY INSERT INTO welcome_messages(installation_key, data, installation_key_data_hash, hpke_public_key)
VALUES(installation_key, data, installation_key_data_hash, hpke_public_key)
RETURNING
*;
Expand Down
2 changes: 1 addition & 1 deletion pkg/mls/store/queries/db.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/mls/store/queries/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions pkg/mls/store/queries/queries.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 174cb80

Please sign in to comment.