home page for App
This commit is contained in:
38
Server/Migrations/20230724084100_Add-Photo-Size.cs
Normal file
38
Server/Migrations/20230724084100_Add-Photo-Size.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Blahblah.FlowerStory.Server.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddPhotoSize : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "height",
|
||||
table: "photos",
|
||||
type: "INTEGER",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "width",
|
||||
table: "photos",
|
||||
type: "INTEGER",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "height",
|
||||
table: "photos");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "width",
|
||||
table: "photos");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user