Compare commits
No commits in common. "a353b4c3f8cd711513234ed139a8af01bed0c8e9" and "8a103831ebfe77b27aa525f2c709305950466464" have entirely different histories.
a353b4c3f8
...
8a103831eb
@ -2,19 +2,17 @@ name: .NET Test Pipeline
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
branches: [master, 'release/*']
|
||||||
branches:
|
|
||||||
[master, 'release/*']
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up .NET Core
|
- name: Set up .NET Core
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ public sealed class CampusConfiguration : IEntityTypeConfiguration<Campus>
|
|||||||
{
|
{
|
||||||
public void Configure(EntityTypeBuilder<Campus> builder)
|
public void Configure(EntityTypeBuilder<Campus> builder)
|
||||||
{
|
{
|
||||||
builder.ToTable(nameof(Campus));
|
builder.ToTable("MyCampusName");
|
||||||
builder.HasKey(c => c.Id);
|
builder.HasKey(c => c.Id);
|
||||||
builder.HasIndex(c => c.Id).IsUnique();
|
builder.HasIndex(c => c.Id).IsUnique();
|
||||||
builder.Property(c => c.Id).HasColumnType("INTEGER").IsRequired().ValueGeneratedOnAdd();
|
builder.Property(c => c.Id).HasColumnType("INTEGER").IsRequired().ValueGeneratedOnAdd();
|
||||||
|
Loading…
Reference in New Issue
Block a user