FileSqlServerSync/Server/RemoteServer/Migrations/20240708101413_InitialCreate.Designer.cs

118 lines
3.7 KiB
C#
Raw Permalink Normal View History

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using RemoteServer.Models;
#nullable disable
namespace RemoteServer.Migrations
{
[DbContext(typeof(SqliteDbContext))]
[Migration("20240708101413_InitialCreate")]
partial class InitialCreate
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.6");
modelBuilder.Entity("RemoteServer.SyncGitCommit", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property<string>("CommitId")
.IsRequired()
.HasColumnType("TEXT");
b.Property<string>("CommitMessage")
.IsRequired()
.HasColumnType("TEXT");
b.Property<DateTime>("CommitTime")
.HasColumnType("TEXT");
b.Property<string>("CommitUserName")
.IsRequired()
.HasColumnType("TEXT");
b.Property<Guid>("HeadId")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("SyncGitCommits");
});
modelBuilder.Entity("RemoteServer.SyncLogFile", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property<string>("ClientRootPath")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("TEXT");
b.Property<Guid>("HeadId")
.HasColumnType("TEXT");
b.Property<string>("RelativePath")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("TEXT");
b.Property<string>("ServerRootPath")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("SyncLogFiles");
});
modelBuilder.Entity("RemoteServer.SyncLogHead", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT");
b.Property<string>("ClientID")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("TEXT");
b.Property<string>("ClientName")
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<string>("Message")
.HasColumnType("TEXT");
b.Property<int>("Status")
.HasColumnType("INTEGER");
b.Property<DateTime>("SyncTime")
.HasColumnType("TEXT");
b.Property<string>("VersionsFromTag")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("SyncLogHeads");
});
#pragma warning restore 612, 618
}
}
}