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.

35 lines
1023 B

2 years ago
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Shentun.Peis.Migrations
  4. {
  5. public partial class init20240426003 : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.RenameColumn(
  10. name: "isSystem",
  11. table: "report_format_template",
  12. newName: "is_system");
  13. migrationBuilder.RenameColumn(
  14. name: "isDefault",
  15. table: "report_format_template",
  16. newName: "is_default");
  17. }
  18. protected override void Down(MigrationBuilder migrationBuilder)
  19. {
  20. migrationBuilder.RenameColumn(
  21. name: "is_system",
  22. table: "report_format_template",
  23. newName: "isSystem");
  24. migrationBuilder.RenameColumn(
  25. name: "is_default",
  26. table: "report_format_template",
  27. newName: "isDefault");
  28. }
  29. }
  30. }