Skip to content

Commit

Permalink
rawr
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Nov 12, 2024
1 parent 6271a29 commit b4719a5
Show file tree
Hide file tree
Showing 10 changed files with 2,376 additions and 57 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Server.Migrations
{
/// <inheritdoc />
public partial class LeaderboardPositionGeneratedAt : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "GeneratedAt",
table: "Leaderboards",
type: "timestamp with time zone",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "GeneratedAt",
table: "Leaderboards");
}
}
}
Loading

0 comments on commit b4719a5

Please sign in to comment.