cognee/cognee
Igor Ilic c23a314b63
COG-414: fix postgres database deletion (#163)
* fix: Add deletion of all tables in all schemas for postgres

Added deletion of all tables in postgres database, but this fix causes an issue regrading creation of duplicate tables on next run

Fix #COG-414

* fix: Resolve issue with database deletion

Resolve issue with database deletion by cleaning Metadata after every schema

Fix #COG-414

* fix: Move cleaning of MetaData out of drop table loop

Moved cleaning of MetaData to be after all tables have been dropped

Fix #COG-414

* refactor: Remove unnecessary print statement

Removed unnecessary print statement

Refactor #COG-414

* fix: Fix table deletion for SqlAlchemyAdapter

Fixed deletion of tables in SqlAlchemyAdapter so it works for sqlite and postgres

Fix #COG-414

* feat: Add deletion by id for SqlAlchemyAdapter

Added ability to delete data from database by id

Feature #COG-414

* fix: Add support for postgresql syntax for getting table function in SqlAlchemyAdapter

Added support for schema namespace for getting tables

Fix #COG-414
2024-10-28 09:57:30 +01:00
..
api refactor: Fix spacing, remove unused config methods 2024-10-22 13:45:23 +02:00
infrastructure COG-414: fix postgres database deletion (#163) 2024-10-28 09:57:30 +01:00
modules Merge branch 'main' of github.com:topoteretes/cognee into COG-170-PGvector-adapter 2024-10-22 12:41:18 +02:00
shared feat: add telemetry logging to pipelines and tasks (#140) 2024-09-29 12:20:48 +02:00
tasks fix: various fixes for the deployment 2024-10-22 11:26:48 +02:00
tests refactor: Fix typo 2024-10-22 15:12:45 +02:00
__init__.py feat: migrate search to tasks (#144) 2024-10-07 14:41:35 +02:00
base_config.py chore: remove unnecessary env variables 2024-09-12 20:32:25 +02:00
fetch_secret.py chore: rename package 2024-03-13 16:08:11 +01:00
pipelines.py feat: expose cognee.pipelines (#125) 2024-07-27 10:01:44 +02:00
root_dir.py fix: enable sdk and fix config 2024-06-03 14:03:24 +02:00