Database migrations: Support DateOnly and TimeOnly in syntax providers (#20784)
* sql column type map include dateonly and timeonly * Split Mapper and add check null value * Minor code tidy resolving a few warnings. * add spaces * clean code --------- Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk> Co-authored-by: Andy Butland <abutland73@gmail.com>
This commit is contained in:
@@ -96,6 +96,8 @@ public class SqliteTestDatabase : BaseTestDatabase, ITestDatabase
|
||||
|
||||
database.Mappers.Add(new NullableDateMapper());
|
||||
database.Mappers.Add(new SqlitePocoGuidMapper());
|
||||
database.Mappers.Add(new SqlitePocoDecimalMapper());
|
||||
database.Mappers.Add(new SqlitePocoDateAndTimeOnlyMapper());
|
||||
|
||||
foreach (var dbCommand in _cachedDatabaseInitCommands)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user