src/Newdtek.Master.EntityFrameworkCore/Migrations/20170424115119_Initial_Migrations.cs
(开头部分) 47KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Newdtek.Master.Migrations
{
public partial class Initial_Migrations : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AbpEditions",
columns: table => new
{
Id = table.Column<int>(nullable: false)
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
CreationTime = table.Column<DateTime>(nullable: false),
CreatorUserId = table.Column<long>(nullable: true),
DeleterUserId = table.Column<long>(nullable: true),
DeletionTime = table.Column<DateTime>(nullable: true),
DisplayName = table.Column<string>(maxLength: 64, nullable: false),
IsDeleted = table.Column<bool>(nullable: false),
LastModificationTime = table.Column<DateTime>(nullable: true),
LastModifierUserId = table.Column<long>(nullable: true),
Name = table.Column<string>(maxLength: 32, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_AbpEditions", x => x.Id);
});
migrationBuilder.CreateTable(
name: "AbpAuditLogs",
columns: table => new
{
Id = table.Column<long>(nullable: false)
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
BrowserInfo = table.Column<string>(maxLength: 256, nullable: true),
ClientIpAddress = table.Column<string>(maxLength: 64, nullable: true),
ClientName = table.Column<string>(maxLength: 128, nullable: true),
CustomData = table.Column<string>(maxLength: 2000, nullable: true),
Exception = table.Column<string>(maxLength: 2000, nullable: true),
ExecutionDuration = table.Column<int>(nullable: false),
ExecutionTime = table.Column<DateTime>(nullable: false),
ImpersonatorTenantId = table.Column<int>(nullable: true),
ImpersonatorUserId = table.Column<long>(nullable: true),
MethodName = table.Column<string>(maxLength: 256, nullable: true),
Parameters = table.Column<string>(maxLength: 1024, nullable: true),
ServiceName = table.Column<string>(maxLength: 256, nullable: true),
TenantId = table.Column<int>(nullable: true),
UserId = table.Column<long>(nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_AbpAuditLogs", x => x.Id);
});
migrationBuilder.CreateTable(
name: "AbpUserAccounts",
columns: table => new
后面还有 936 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。