Skip to content

Commit 1baa4ad

Browse files
committed
docs: correct misleading example
1 parent e9ac7ce commit 1baa4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Table name is camel cased, the first letter is uppercased, suffixed with "By" co
123123
export POSTLOADER_DATABASE_CONNECTION_URI=postgres://postgres:[email protected]/test
124124
export POSTLOADER_COLUMN_FILTER="return /* exclude tables that have a _view */ !columns.map(column => column.tableName).includes(tableName + '_view')"
125125
export POSTLOADER_TABLE_NAME_MAPPER="return tableName.endsWith('_view') ? tableName.slice(0, -5) : tableName;"
126-
export POSTLOADER_DATA_TYPE_MAP="{\"email\":\"string\"}"
126+
export POSTLOADER_DATA_TYPE_MAP="{\"email\":\"text\"}"
127127

128128
postloader generate-loaders > ./PostLoader.js
129129

0 commit comments

Comments
 (0)