faisaltheparttimecoder/mock-data

Possibly missing quotes for schema in "Extracting the column information from postgres database for table" step

janpio opened this issue · 1 comments

See this output:

time="2020-02-28 14:21:57" level=debug msg="Extracting the column information from postgres database for table: public.\"authors\"" file="sql.go:164"
Extracting column information from tables  25% [===========>                                      ] (1/4) [0s:1s]time="2020-02-28 14:21:57" level=debug msg="Extracting the column information from postgres database for table: public.\"authors_blogs\"" file="sql.go:164"
Extracting column information from tables  50% [========================>                         ] (2/4) [0s:0s]time="2020-02-28 14:21:57" level=debug msg="Extracting the column information from postgres database for table: public.\"blogs\"" file="sql.go:164"
Extracting column information from tables  75% [====================================>             ] (3/4) [1s:0s]time="2020-02-28 14:21:58" level=debug msg="Extracting the column information from postgres database for table: public.\"posts\"" file="sql.go:164"
Extracting column information from tables 100% [==================================================] (4/4) [1s:0s]

The missing \" for public might indicate this might crash if someone has an uppercase schema name.