using Microsoft.EntityFrameworkCore.Migrations;

namespace DataLayer.Postgres.Migrations;

/// <inheritdoc />
public partial class ReAddCategoryName2 : Migration
{
	/// <inheritdoc />
	protected override void Up(MigrationBuilder migrationBuilder)
	{
		migrationBuilder.AddColumn<string>(
			name: "Name",
			table: "Categories",
			type: "text",
			nullable: false,
			defaultValue: "");
	}

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