mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
fc90f71f5e
commit
23e55ab6b6
3 changed files with 3 additions and 8 deletions
|
|
@ -7,6 +7,6 @@
|
|||
"ForumUrl": "https://mysample.list/forum/",
|
||||
"HomeUrl": "https://mysample.list/",
|
||||
"IssuesUrl": "https://github.com/mysamplelist/issues",
|
||||
"Name": "My Sample List",
|
||||
"Name": "My Sample Filter List",
|
||||
"ViewUrl": "https://mysample.list/list.txt"
|
||||
}
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
using FilterLists.Data.Models.Contracts;
|
||||
using FilterLists.Data.Models.Implementations;
|
||||
using FilterLists.Data.Models.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace FilterLists.Data.Contexts
|
||||
|
|
@ -15,7 +14,7 @@ public FilterListsDbContext(DbContextOptions options)
|
|||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<IBaseEntity>()
|
||||
modelBuilder.Entity<FilterList>()
|
||||
.Property(b => b.CreatedDateUtc)
|
||||
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,4 @@
|
|||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Stored Procedures\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Loading…
Reference in a new issue