mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-30 22:59:35 +02:00
Add peer expiration
This commit is contained in:
parent
2d67540e13
commit
2ecb92eef6
94 changed files with 43258 additions and 49 deletions
|
@ -1,5 +1,6 @@
|
|||
// <auto-generated />
|
||||
using MTWireGuard;
|
||||
using System;
|
||||
using MTWireGuard.Application;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
@ -14,16 +15,21 @@ namespace MTWireGuard.Application.Migrations
|
|||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.1");
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.5");
|
||||
|
||||
modelBuilder.Entity("MTWireGuard.Models.Mikrotik.WGPeerDBModel", b =>
|
||||
modelBuilder.Entity("MTWireGuard.Application.Models.Mikrotik.WGPeerDBModel", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTime?>("Expire")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int?>("ExpireID")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("PrivateKey")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue