mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
ALTER TABLE library ADD COLUMN purged BOOLEAN DEFAULT FALSE; CREATE INDEX ix_library_purged ON library USING btree (purged); ALTER TABLE library_folder ADD COLUMN purged BOOLEAN DEFAULT FALSE; CREATE INDEX ix_library_folder_purged ON library_folder USING btree (purged); - Deleting a library will mark all folders and contents ( LibraryFolderDatasetAssociations ) deleted in the db (weakness is that state is not saved for undeleting ) - Undeleting a library will mark all folders and contents as undeleted in the db - Purging a library will mark the library, all folders, and LibraryFolderDatasetAssociations as purged, datasets will only be marked as deleted - marking as purged and removing the file from disk will be handled by the cleanup_datasets script.