6
2026-01-24 12:49:55 +03:00

63 lines
1.7 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Content.Server.Database.Migrations.Postgres
{
/// <inheritdoc />
public partial class EvilBarks : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<float>(
name: "bark_pitch",
table: "profile",
type: "float4",
nullable: false,
defaultValue: 1.0f);
migrationBuilder.AddColumn<string>(
name: "bark_proto",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<float>(
name: "high_bark_var",
table: "profile",
type: "float4",
nullable: false,
defaultValue: 0.5f);
migrationBuilder.AddColumn<float>(
name: "low_bark_var",
table: "profile",
type: "float4",
nullable: false,
defaultValue: 0.1f);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "bark_pitch",
table: "profile");
migrationBuilder.DropColumn(
name: "bark_proto",
table: "profile");
migrationBuilder.DropColumn(
name: "high_bark_var",
table: "profile");
migrationBuilder.DropColumn(
name: "low_bark_var",
table: "profile");
}
}
}