Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eem/KISS-frontend into feature/beheervragensets

# Conflicts:
#	src/features/contactverzoek/ContactverzoekFormulier.vue
  • Loading branch information
githubjimmeicatt committed Sep 18, 2023
2 parents f1b49ec + 51dd49e commit c8b6cab
Show file tree
Hide file tree
Showing 58 changed files with 1,547 additions and 725 deletions.
1 change: 1 addition & 0 deletions Kiss.Bff/Beheer/Data/BeheerDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
modelBuilder.Entity<ContactmomentDetails>(l =>
{
l.HasIndex(x => x.Vraag);
l.HasIndex(x => x.VerantwoordelijkeAfdeling);
});

modelBuilder.Entity<ContactVerzoekVragenSet>()
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Kiss.Bff.NieuwsEnWerkinstructies.Migrations
{
public partial class CmDetailsVerantwoordelijkeAfdeling : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "VerantwoordelijkeAfdeling",
table: "ContactMomentDetails",
type: "text",
nullable: true);

migrationBuilder.CreateIndex(
name: "IX_ContactMomentDetails_VerantwoordelijkeAfdeling",
table: "ContactMomentDetails",
column: "VerantwoordelijkeAfdeling");
}

protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_ContactMomentDetails_VerantwoordelijkeAfdeling",
table: "ContactMomentDetails");

migrationBuilder.DropColumn(
name: "VerantwoordelijkeAfdeling",
table: "ContactMomentDetails");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,16 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property<DateTimeOffset>("Startdatum")
.HasColumnType("timestamp with time zone");

b.Property<string>("VerantwoordelijkeAfdeling")
.HasColumnType("text");

b.Property<string>("Vraag")
.HasColumnType("text");

b.HasKey("Id");

b.HasIndex("VerantwoordelijkeAfdeling");

b.HasIndex("Vraag");

b.ToTable("ContactMomentDetails");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public class ContactmomentDetails
public string? Vraag { get; set; }
public string? SpecifiekeVraag { get; set; }
public string? EmailadresKcm { get; set; }
public string? VerantwoordelijkeAfdeling { get; set; }
}
}
Loading

0 comments on commit c8b6cab

Please sign in to comment.