netbird/management/server/migration
Maycon Santos 381447b8d6
Fix store migration on empty string (#2149)
* Fix store migration on empty string

when fetching empty values from the database to check for migration our parser failed to handle null strings preventing the service from start

this uses sql.NullString to handle that and check for empty string resulted from null data

---------

Co-authored-by: Viktor Liu <17948409+lixmal@users.noreply.github.com>
2024-06-18 15:39:54 +02:00
..
migration_test.go Migrate blob net ip fields to json serializer (#1906) 2024-05-07 14:01:45 +03:00
migration.go Fix store migration on empty string (#2149) 2024-06-18 15:39:54 +02:00