Updated the Installation of Oqtane to use Migrations
This commit is contained in:
14
Oqtane.Server/Repository/Interfaces/IDbConfig.cs
Normal file
14
Oqtane.Server/Repository/Interfaces/IDbConfig.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
{
|
||||
public interface IDbConfig
|
||||
{
|
||||
public IHttpContextAccessor Accessor { get; }
|
||||
|
||||
public IConfiguration Configuration { get; }
|
||||
|
||||
public string ConnectionString { get; set; }
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
using System.Data.SqlClient;
|
||||
using System.Reflection;
|
||||
using System.Reflection;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
|
Reference in New Issue
Block a user