forked from topoteretes/cognee
-
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.
COG-414: fix postgres database deletion (topoteretes#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
- Loading branch information
Showing
1 changed file
with
71 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