Skip to content

Commit

Permalink
DB implementation for binding store
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Filios <[email protected]>
  • Loading branch information
alexandrosfilios committed Jan 16, 2025
1 parent 150af8e commit de2d228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/view/services/db/driver/sql/common/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (db *BindingPersistence) PutBinding(ephemeral, longTerm view.Identity) erro
func (db *BindingPersistence) CreateSchema() error {
return InitSchema(db.writeDB, fmt.Sprintf(`
CREATE TABLE IF NOT EXISTS %s (
ephemeral_hash TEXT NOT NULL PRIMARY KEY
ephemeral_hash TEXT NOT NULL PRIMARY KEY,
long_term_id BYTEA NOT NULL
);`, db.table))
}

0 comments on commit de2d228

Please sign in to comment.