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

fix: Modify schema name to service key placeholder in Postgres #678

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/edgexfoundry/app-service-configurable

go 1.23

require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.2.0-dev.52
require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.2.0-dev.54

require (
github.com/Microsoft/go-winio v0.6.2 // indirect
Expand All @@ -15,7 +15,7 @@ require (
github.com/eclipse/paho.mqtt.golang v1.5.0 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.60 // indirect
github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.17 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.46 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.49 // indirect
github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.35 // indirect
github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.16 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.13 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ github.com/diegoholiveira/jsonlogic/v3 v3.5.3 h1:CPyZQ3fOgiIDZ1yWzPGUpyht5tYTOnR
github.com/diegoholiveira/jsonlogic/v3 v3.5.3/go.mod h1:3nnfWovrlZq2rTpucrJ2KMIS8TMf6IoFneofmeqk/qk=
github.com/eclipse/paho.mqtt.golang v1.5.0 h1:EH+bUVJNgttidWFkLLVKaQPGmkTUfQQqjOsyvMGvD6o=
github.com/eclipse/paho.mqtt.golang v1.5.0/go.mod h1:du/2qNQVqJf/Sqs4MEL77kR8QTqANF7XU7Fk0aOTAgk=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.2.0-dev.52 h1:Jd07igvcrYCrTWaM1zskNNoEZjBO7XNCH+GAsJPW1vE=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.2.0-dev.52/go.mod h1:1sfiT4Smnu2T/1TJLd7sJ5zJAXcSautpelKS8/+2k+E=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.2.0-dev.54 h1:uU/ftshdidfXIx1fVmD7v4vXJ+od1xxR1V+KiesavFM=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.2.0-dev.54/go.mod h1:JaPGWRNc2jm+YAHG7tiq3m9ICG+IKIcr1dXPZ1DEScg=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.60 h1:4EnGLJIA285iPUVKsthCjigAqS0mNmLFZt/7ox9bwkg=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.60/go.mod h1:hDdB2Te8stOkIIyCrKa1tXvHlZLvAZ3luiAz6Qz6Cr8=
github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.17 h1:eNLGThT5fYtFLSrr6vtvHV92cm5IohJzwSRYcd5pvtg=
github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.17/go.mod h1:va3l+Nri1KijDM5KItsaYrwUSG3Nhj/4EDvR4uB+Jds=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.46 h1:rivgaOszQTr568qpcJYamChuPcfR+qmmyzurADn/tNw=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.46/go.mod h1:8MSv8MFJnUdjZUEfPpxEMQUskv5VENJQkKsroE7YKUM=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.49 h1:uBI0nA3oO9P2MWBR1Tcn/543u4GFfWXd4J9Gii6CB1k=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.49/go.mod h1:MLk37/79M26+bZr3IptNZuYmQBEVbXwzDp1VHQkFhIk=
github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.35 h1:ZKmq5Vd1QN86OLTbD8A2JIKTxR8k21gtqmEUS3hApBY=
github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.35/go.mod h1:SUTdo8v9V+XacowkZP5puBXnBcVP2NDSk5PBzOdsLEk=
github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.16 h1:vG6cI1LU8QLpzUXYleYuVyqbpeYghLF3Jj6afcaUCHA=
Expand Down
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