navidrome/model
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
..
criteria Add (not)inplaylist operator to smart playlists (#1884) 2024-01-20 18:22:17 -05:00
request Only send events to clients who need it 2021-06-15 18:59:26 -04:00
album.go Fix null values in DB (#2840) 2024-02-07 20:45:08 -05:00
album_test.go Implement new Artist refresh 2022-12-28 15:31:56 -05:00
annotation.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
artist.go Fix null values in DB (#2840) 2024-02-07 20:45:08 -05:00
artist_info.go Get Similar Artists in parallel 2020-10-21 21:44:03 -04:00
artwork_id.go Add lastUpdated to `coverArt` ids. Helps with invalidating art cache client-side. 2023-02-08 20:03:31 -05:00
artwork_id_test.go Add lastUpdated to `coverArt` ids. Helps with invalidating art cache client-side. 2023-02-08 20:03:31 -05:00
bookmark.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
datastore.go Add Internet Radio support (#2063) 2023-01-15 15:11:37 -05:00
errors.go Add share download endpoint 2023-03-10 23:33:29 -05:00
file_types.go Refactor file type functions 2022-12-28 15:31:56 -05:00
file_types_test.go Refactor file type functions 2022-12-28 15:31:56 -05:00
genre.go Omit empty Genre attributes 2023-12-27 12:44:25 -05:00
get_entity.go Handle "naked" CoverArtIDs (IDs of album, mediafiles and playlists) 2022-12-28 15:31:56 -05:00
lyrics.go Add OS Lyrics extension (#2656) 2023-12-27 20:20:29 -05:00
lyrics_test.go Add OS Lyrics extension (#2656) 2023-12-27 20:20:29 -05:00
mediafile.go Fix ReplayGain values not being retrieved from DB 2023-12-27 21:14:54 -05:00
mediafile_internal_test.go Remove current artwork implementation 2022-12-28 15:31:56 -05:00
mediafile_test.go Convert internal disc number representation to int 2023-12-09 13:53:38 -05:00
mediafolder.go Only compute version once 2022-09-14 21:09:39 -04:00
model_suite_test.go Rename log.LevelCritical to log.LevelFatal 2022-12-21 14:53:36 -05:00
player.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
playlist.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
playlists_test.go Refactor file type functions 2022-12-28 15:31:56 -05:00
playqueue.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
properties.go Move user properties (like session keys) to their own table 2021-06-23 17:49:32 -04:00
radio.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
scrobble_buffer.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
share.go Fix null values in DB (#2840) 2024-02-07 20:45:08 -05:00
transcoding.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
user.go Replace beego/orm with dbx (#2693) 2023-12-09 13:52:17 -05:00
user_props.go Pass userId explicitly to UserPropsRepository methods 2021-06-25 22:21:37 -04:00