mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-20 08:12:27 +00:00
Add DbConnectionString to config
This commit is contained in:
parent
76aeb54da0
commit
177befde91
4 changed files with 5 additions and 14 deletions
|
@ -30,7 +30,7 @@ namespace LBPUnion.ProjectLighthouse
|
|||
public DbSet<RatedLevel> RatedLevels { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder options)
|
||||
=> options.UseMySql(ServerStatics.DbConnectionString, MySqlServerVersion.LatestSupportedServerVersion);
|
||||
=> options.UseMySql(ServerSettings.Instance.DbConnectionString, MySqlServerVersion.LatestSupportedServerVersion);
|
||||
|
||||
public async Task<User> CreateUser(string username)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue