From df19a6d58ef1d94e11c4dbfd76074e0e54d3d32c Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期五, 05 九月 2025 10:59:32 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Database.Migrations/Migrations/20250905025913_UpdateEnterpriseWallet0905003.cs | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/FlexJobApi.Database.Migrations/Migrations/20250905025913_UpdateEnterpriseWallet0905003.cs b/FlexJobApi.Database.Migrations/Migrations/20250905025913_UpdateEnterpriseWallet0905003.cs new file mode 100644 index 0000000..736bc53 --- /dev/null +++ b/FlexJobApi.Database.Migrations/Migrations/20250905025913_UpdateEnterpriseWallet0905003.cs @@ -0,0 +1,45 @@ +锘縰sing System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace FlexJobApi.Database.Migrations.Migrations +{ + /// <inheritdoc /> + public partial class UpdateEnterpriseWallet0905003 : Migration + { + /// <inheritdoc /> + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "CodeUrl", + columns: table => new + { + Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), + Scene = table.Column<int>(type: "int", nullable: false), + Code = table.Column<string>(type: "nvarchar(max)", nullable: true), + Url = table.Column<string>(type: "nvarchar(max)", nullable: true), + ExpiredTime = table.Column<DateTime>(type: "datetime2", nullable: true), + Sort = table.Column<int>(type: "int", nullable: false), + TraceId = table.Column<string>(type: "nvarchar(max)", nullable: true), + CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false), + CreatedUserId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), + CreatedEnterpriseId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), + UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true), + UpdatedUserId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column<bool>(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_CodeUrl", x => x.Id); + }); + } + + /// <inheritdoc /> + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "CodeUrl"); + } + } +} -- Gitblit v1.9.1