diff --git a/CHANGELOG.md b/CHANGELOG.md index 6749bac..e741ce5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +#### [v0.4.1](https://github.com/BemiHQ/BemiDB/compare/v0.4.0...v0.4.1) - 2024-11-12 + +- Fix syncing camel-cased Postgres tables + #### [v0.4.0](https://github.com/BemiHQ/BemiDB/compare/v0.3.2...v0.4.0) - 2024-11-11 - Serialize user-defined types as strings diff --git a/scripts/install.sh b/scripts/install.sh index 81a252b..1872056 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="0.4.0" +VERSION="0.4.1" # Detect OS and architecture OS=$(uname -s | tr '[:upper:]' '[:lower:]') diff --git a/src/custom_types.go b/src/custom_types.go index 2f4dc53..f229d1c 100644 --- a/src/custom_types.go +++ b/src/custom_types.go @@ -1,5 +1,9 @@ package main +import ( + "fmt" +) + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// type OrderedMap struct { @@ -58,5 +62,5 @@ type SchemaTable struct { } func (schemaTable SchemaTable) String() string { - return schemaTable.Schema + "." + schemaTable.Table + return fmt.Sprintf(`"%s"."%s"`, schemaTable.Schema, schemaTable.Table) } diff --git a/src/main.go b/src/main.go index 8d878fa..e5f3c78 100644 --- a/src/main.go +++ b/src/main.go @@ -5,7 +5,7 @@ import ( "fmt" ) -const VERSION = "0.4.0" +const VERSION = "0.4.1" func main() { flag.Parse()