navidrome/utils
Caio Cotts bf2bcb1279
Fix null values in DB (#2840)
* Fix album image_files being null.

* Fix small nitpick.

* Use ExecContext instead of Exec.

* Change more columns to not null and set default values.

* Remove columns that don't need to be changed from migration.

* Fix typo.

* Remove unnecessary select statements.

* Remove duplicate code.

* Do not apply changes to radio table.

* Do not apply changes full_text columns and respective indexes.

* Fix musicbrainz columns.

* Rename migration.

* Make ExternalInfoUpdatedAt nullable

* Make Share's timestamps nullable

---------

Co-authored-by: Deluan Quintão <deluan@navidrome.org>
2024-02-07 20:45:08 -05:00
..
cache Fix FileHaunter tests 2023-12-02 19:40:59 -05:00
gg Fix null values in DB (#2840) 2024-02-07 20:45:08 -05:00
gravatar Moved logic of collapsing songs into albums to model package 2022-12-28 15:31:56 -05:00
number Add todo as a reminder to replace min/max in Go 1.22 2023-12-21 19:19:46 -05:00
pl Use sync/atomic package, now that we are at Go 1.19 2023-02-15 21:21:59 -05:00
req Replace all `utils.Param*` with `req.Params` 2023-12-21 17:41:09 -05:00
singleton Make the GetInstance concurrent test more readable 2023-12-28 16:50:07 -05:00
slice Generalize BreakUp/RangByChunks functions 2023-11-25 12:13:36 -05:00
cached_http_client.go Update golangci-lint and fix lint errors 2023-02-02 11:10:28 -05:00
cached_http_client_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
context.go Refactored agents calling into its own struct 2021-06-08 17:00:02 -04:00
context_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
encrypt.go Encrypt passwords in DB (#1187) 2021-06-18 18:38:38 -04:00
encrypt_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
index_group_parser.go Some cleanup, fixes typos and grammar errors 2022-12-06 20:09:03 -05:00
index_group_parser_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
merge_fs.go Small readability improvement in MergeFS tests 2024-01-21 16:20:47 -05:00
merge_fs_test.go Small readability improvement in MergeFS tests 2024-01-21 16:20:47 -05:00
sanitize_strings.go Use custom sanitize package, fix #2070 2023-01-12 13:39:05 -05:00
sanitize_strings_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
strings.go Generalize BreakUp/RangByChunks functions 2023-11-25 12:13:36 -05:00
strings_test.go Generalize BreakUp/RangByChunks functions 2023-11-25 12:13:36 -05:00
time.go Tests for time conversion utils 2016-03-08 19:29:56 -05:00
time_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
utils_suite_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00
weighted_random_chooser.go Add function number.RandomInt64 2023-01-13 21:40:24 -05:00
weighted_random_chooser_test.go Rename WeightedChooser's method Put to Add, a better name 2023-01-13 19:43:27 -05:00