Compare commits

..

No commits in common. "a353b4c3f8cd711513234ed139a8af01bed0c8e9" and "8a103831ebfe77b27aa525f2c709305950466464" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View File

@ -2,19 +2,17 @@ name: .NET Test Pipeline
on:
pull_request:
push:
branches:
[master, 'release/*']
branches: [master, 'release/*']
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Set up .NET Core
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

View File

@ -8,7 +8,7 @@ public sealed class CampusConfiguration : IEntityTypeConfiguration<Campus>
{
public void Configure(EntityTypeBuilder<Campus> builder)
{
builder.ToTable(nameof(Campus));
builder.ToTable("MyCampusName");
builder.HasKey(c => c.Id);
builder.HasIndex(c => c.Id).IsUnique();
builder.Property(c => c.Id).HasColumnType("INTEGER").IsRequired().ValueGeneratedOnAdd();