Skip to content

Commit 9366f2e

Browse files
committed
point to central release folder for eql dsl sql file
1 parent cd9dc75 commit 9366f2e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

languages/go/xorm/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ import (
1313
"xorm.io/xorm/names"
1414
)
1515

16-
// To setup postgres:
17-
// Run: docker compose up
18-
// To run examples
19-
// Run: go run .
20-
2116
// Create a separate custom type for each field that is being encrypted, using the relevant go type.
2217
// This custom type can then be used to access the conversion interface to use toDB and fromDb.
2318
type EncryptedTextField string

languages/go/xorm/migrations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func installCsCustomTypes(engine *sql.DB) {
3030

3131
// Installing EQL
3232
func installDsl(engine *sql.DB) {
33-
path := "./cipherstash-encrypt-dsl.sql"
33+
path := "../../../release/cipherstash-encrypt-dsl.sql"
3434
sql, err := os.ReadFile(path)
3535
if err != nil {
3636
log.Fatalf("Failed to read SQL file: %v", err)

0 commit comments

Comments
 (0)