-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement SQL text -> Garble enum conversion in Postgres example
- Loading branch information
1 parent
11420c1
commit ce0cefa
Showing
5 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
CREATE TABLE insurance ( | ||
id SERIAL PRIMARY KEY, | ||
name TEXT, | ||
disabled BOOL, | ||
status TEXT, | ||
address TEXT | ||
); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Id,Name,Disabled,Address | ||
0,"Max Doe",true,"Parkstraße 1, 12345 Berlin" | ||
1,"Bob Doe",false,"Schlossallee 2, 12345 Berlin" | ||
Id,Name,Status,Address | ||
0,"Max Doe","foo","Parkstraße 1, 12345 Berlin" | ||
1,"Bob Doe","bar","Schlossallee 2, 12345 Berlin" | ||
2,"Jane Doe","foobar","Schlossallee 2, 12345 Berlin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters