20220325170225_PlayerReadRules.cs 714 B

1234567891011121314151617181920212223242526
  1. #nullable disable
  2. using System;
  3. using Microsoft.EntityFrameworkCore.Migrations;
  4. namespace Content.Server.Database.Migrations.Postgres
  5. {
  6. public partial class PlayerReadRules : Migration
  7. {
  8. protected override void Up(MigrationBuilder migrationBuilder)
  9. {
  10. migrationBuilder.AddColumn<DateTime>(
  11. name: "last_read_rules",
  12. table: "player",
  13. type: "timestamp with time zone",
  14. nullable: true);
  15. }
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.DropColumn(
  19. name: "last_read_rules",
  20. table: "player");
  21. }
  22. }
  23. }