Hello! I have golang application with: go-tdlib gorm.io/gorm gorm.io/driver/sqlite

And if I specify tdlibparams: UseMessageDatabase: true, UseFileDatabase: true, UseChatInfoDatabase: true,

Then get errors:

Destroy bad SQLite database because of [Error : 0 : [query:SELECT sqlcipher_export('encrypted')] to database "/go-telegram/accounts-data/89166459517/tdlib-db/db.sqlite" failed: no such function: sqlcipher_export]

If I remove grom from project, then error disappears Or if I change tdlibparams database:false, then also error disappears.

But I need use tdlib databases and I need use gorm in one project please help me =)

Comment From: github-actions[bot]

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 2 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking

Comment From: ghost

Hello, Is it possible that the problem is with the sqlite3 version ? Can you provide a demo in https://github.com/go-gorm/playground ?

Comment From: github-actions[bot]

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 2 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking