go-shiori / shiori

Simple bookmark manager built with Go
MIT License
9.28k stars 551 forks source link

fix: not checking for nil-pointer errors on migrations #906

Closed fmartingr closed 4 months ago

fmartingr commented 4 months ago

Fix potential panic by checking err before doing comparisons over it.

Fixes #904

Monirzadeh commented 4 months ago

@fmartingr i test this PR and fix for PostgreSQL, i think MariaDB need same fix too.