Add UserServiceTests: implement unit tests for user management functionalities
Some checks failed
Build And Push Dev Docker Image / docker (push) Failing after 28s
Some checks failed
Build And Push Dev Docker Image / docker (push) Failing after 28s
This commit is contained in:
@@ -47,7 +47,10 @@ namespace FoodsharingSiegen.Server.Data
|
||||
/// <param name="options">The options (ab)</param>
|
||||
public FsContext(DbContextOptions<FsContext> options) : base(options)
|
||||
{
|
||||
Database.Migrate();
|
||||
if (Database.IsRelational())
|
||||
{
|
||||
Database.Migrate();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user