Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compatibility of DownloadArchive #3078

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

ClosedPort22
Copy link
Contributor

  • Allows gallery-dl to ignore other columns in the archive database, provided they don't have the NOT NULL constraint
  • Sets type affinity to TEXT. When integers are stored as text, both SELECT 1 FROM archive WHERE entry=123 and SELECT 1 FROM archive WHERE entry='123' will return true.

Other programs can add additional columns to the table without affecting
gallery-dl
@mikf mikf merged commit 455e341 into mikf:master Oct 21, 2022
@ClosedPort22 ClosedPort22 deleted the archive-compat branch October 21, 2022 14:08
mikf pushed a commit that referenced this pull request Oct 29, 2022
Other programs can add additional columns to the table without affecting
gallery-dl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants