diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 86b2c509f..95c576eb2 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.92" \ No newline at end of file +__version__ = "5.1.93" \ No newline at end of file diff --git a/cyberdrop_dl/utils/database/tables/history_table.py b/cyberdrop_dl/utils/database/tables/history_table.py index 810c60d62..81882d3a3 100644 --- a/cyberdrop_dl/utils/database/tables/history_table.py +++ b/cyberdrop_dl/utils/database/tables/history_table.py @@ -166,7 +166,7 @@ async def fix_primary_keys(self) -> None: await self.db_conn.execute(create_fixed_history) await self.db_conn.commit() - await self.db_conn.execute("""INSERT INTO media_copy SELECT * FROM media GROUP BY domain, url_path, original_filename;""") + await self.db_conn.execute("""INSERT INTO media_copy (domain, url_path, referer, album_id, download_path, download_filename, original_filename, completed) SELECT * FROM media GROUP BY domain, url_path, original_filename;""") await self.db_conn.commit() await self.db_conn.execute("""DROP TABLE media""") diff --git a/pyproject.toml b/pyproject.toml index 1709b9ee7..3de9340b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.92" +version = "5.1.93" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"