add some initial stuff
Some checks failed
CI / linter (9.0.X, ubuntu-latest) (push) Failing after 4m25s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Has been skipped
SonarQube Scan / SonarQube Trigger (push) Failing after 8m42s

This commit is contained in:
2025-04-09 22:44:50 +02:00
parent a49ea792cc
commit 2bf3258081
89 changed files with 86321 additions and 36 deletions

View File

@@ -0,0 +1,13 @@
using Microsoft.EntityFrameworkCore;
public class DataContext : DbContext
{
public static DataContext Instance;
public DbSet<User> Users { get; set; }
public DbSet<Song> Songs { get; set; }
public DbSet<SongSuggestion> SongSuggestions { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseNpgsql(@"Host=192.168.1.108:5477;Username=sotd;Password=SotdP0stgresP4ss;Database=sotd");
}