You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations{ public partial class init20240502002 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "date_string", table: "primarykey_builder", type: "character varying(8)", maxLength: 8, nullable: true, comment: "日期", oldClrType: typeof(string), oldType: "character(8)", oldFixedLength: true, oldMaxLength: 8, oldNullable: true, oldComment: "日期"); }
protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "date_string", table: "primarykey_builder", type: "character(8)", fixedLength: true, maxLength: 8, nullable: true, comment: "日期", oldClrType: typeof(string), oldType: "character varying(8)", oldMaxLength: 8, oldNullable: true, oldComment: "日期"); } }}
|