... underscores, either.
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit

This commit is contained in:
adam 2024-12-13 15:12:41 -05:00
parent 75381d62a7
commit d01f14531d
3 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,5 @@
$REPO_NAME.csproj $REPO_NAME.csproj
$REPO_NAME.service $REPO_NAME.service
$REPO_NAME_DBContext.cs
appsettings.sample.json appsettings.sample.json
Components/_Imports.razor Components/_Imports.razor
Components/App.razor Components/App.razor
@ -10,7 +9,7 @@ devuitls.sh
Jenkinsfile Jenkinsfile
Migrations/20241213175020_greets.cs Migrations/20241213175020_greets.cs
Migrations/20241213175020_greets.Designer.cs Migrations/20241213175020_greets.Designer.cs
Migrations/$REPO_NAME_DBContextModelSnapshot.cs Migrations/greynsvcDBContextModelSnapshot.cs
Models/GreetCounter.cs Models/GreetCounter.cs
Program.cs Program.cs
README.md README.md

View File

@ -10,8 +10,8 @@ using $REPO_NAME;
namespace $REPO_NAME.Migrations namespace $REPO_NAME.Migrations
{ {
[DbContext(typeof($REPO_NAME_DBContext))] [DbContext(typeof(greynsvcDBContext))]
partial class $REPO_NAME_DBContextModelSnapshot : ModelSnapshot partial class greynsvcDBContextModelSnapshot : ModelSnapshot
{ {
protected override void BuildModel(ModelBuilder modelBuilder) protected override void BuildModel(ModelBuilder modelBuilder)
{ {

View File

@ -5,12 +5,12 @@ using $REPO_NAME.Models;
namespace $REPO_NAME; namespace $REPO_NAME;
public partial class $REPO_NAME_DBContext : DbContext public partial class greynsvcDBContext : DbContext
{ {
public DbSet<GreetCounter> Channels { get; set; } public DbSet<GreetCounter> Channels { get; set; }
public $REPO_NAME_DBContext() { } public greynsvcDBContext() { }
public $REPO_NAME_DBContext(DbContextOptions<$REPO_NAME_DBContext> options) : base(options) { } public greynsvcDBContext(DbContextOptions<greynsvcDBContext> options) : base(options) { }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseNpgsql(Shared.DBConnectionString); => optionsBuilder.UseNpgsql(Shared.DBConnectionString);