feat: Enhance UI/UX across multiple views with consistent styling and improved layout
This commit is contained in:
parent
9931687419
commit
36d4ae00dd
16 changed files with 609 additions and 60 deletions
60
Migrations/20250621212709_AddEventDetails.cs
Normal file
60
Migrations/20250621212709_AddEventDetails.cs
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace turf_tasker.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddEventDetails : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "AppliedAmount",
|
||||
table: "LawnCareEvents",
|
||||
type: "TEXT",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "MowerHeightInches",
|
||||
table: "LawnCareEvents",
|
||||
type: "TEXT",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ProblemObserved",
|
||||
table: "LawnCareEvents",
|
||||
type: "TEXT",
|
||||
maxLength: 250,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ProductUsed",
|
||||
table: "LawnCareEvents",
|
||||
type: "TEXT",
|
||||
maxLength: 200,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "AppliedAmount",
|
||||
table: "LawnCareEvents");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "MowerHeightInches",
|
||||
table: "LawnCareEvents");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ProblemObserved",
|
||||
table: "LawnCareEvents");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ProductUsed",
|
||||
table: "LawnCareEvents");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue