mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-24 00:14:24 +01:00
Comment code to generate MySql migration scripts
This commit is contained in:
@@ -9,10 +9,23 @@ namespace BTCPayServer.Data
|
||||
{
|
||||
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
||||
{
|
||||
//public ApplicationDbContext(): base(CreateMySql())
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
//private static DbContextOptions CreateMySql()
|
||||
//{
|
||||
// return new DbContextOptionsBuilder<ApplicationDbContext>()
|
||||
// .UseMySql("Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;")
|
||||
// .Options;
|
||||
//}
|
||||
|
||||
public ApplicationDbContext()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user