2019-05-29 01:00:27 +01:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
2020-02-10 02:10:18 +00:00
|
|
|
|
namespace Marechai.Database.Migrations
|
2019-05-29 01:00:27 +01:00
|
|
|
|
{
|
|
|
|
|
|
public partial class AddMachinePhotoSourceUrl : Migration
|
|
|
|
|
|
{
|
2020-02-10 22:44:18 +00:00
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
2019-05-29 01:00:27 +01:00
|
|
|
|
migrationBuilder.AddColumn<string>("Source", "MachinePhotos", nullable: true);
|
|
|
|
|
|
|
2020-02-10 22:44:18 +00:00
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
2019-05-29 01:00:27 +01:00
|
|
|
|
migrationBuilder.DropColumn("Source", "MachinePhotos");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|