Skip to content

Commit

Permalink
fix: Modify schema name to service key placeholder in Postgres
Browse files Browse the repository at this point in the history
Fixes app-functions-sdk-go/#1618. Modify schema name to service key placeholder in Postgres.

Signed-off-by: Lindsey Cheng <beckysocute@gmail.com>
  • Loading branch information
lindseysimple committed Oct 8, 2024
1 parent a0dcfaf commit 6bfcd63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/db/sql/00-utils.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
-- SPDX-License-Identifier: Apache-2.0

-- schema for app service related tables
CREATE SCHEMA IF NOT EXISTS app_svc;
CREATE SCHEMA IF NOT EXISTS "<serviceKey>";
2 changes: 1 addition & 1 deletion res/db/sql/01-tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-- SPDX-License-Identifier: Apache-2.0

-- app_svc.store is used to save StoredObject as JSONB on failure
CREATE TABLE IF NOT EXISTS app_svc.store (
CREATE TABLE IF NOT EXISTS "<serviceKey>".store (
id UUID PRIMARY KEY,
created timestamp NOT NULL DEFAULT now(),
content JSONB NOT NULL
Expand Down

0 comments on commit 6bfcd63

Please sign in to comment.