Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion langchain_postgres/v2/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async def _ainit_vectorstore_table(
nullable = "NOT NULL" if not column["nullable"] else ""
query += f',\n"{column["name"]}" {column["data_type"]} {nullable}'
if store_metadata:
query += f""",\n"{metadata_json_column}" JSON"""
query += f""",\n"{metadata_json_column}" JSONB"""
query += "\n);"

async with self._pool.connect() as conn:
Expand Down