using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Content.Server.Database.Migrations.Sqlite
{
///
public partial class PlayerReputation : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "player_reputations",
columns: table => new
{
player_reputations_id = table.Column(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
user_id = table.Column(type: "TEXT", nullable: false),
reputation = table.Column(type: "REAL", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_player_reputations", x => x.player_reputations_id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "player_reputations");
}
}
}