Skip to content

Commit

Permalink
fix(budget): BudgetTx had wrong datatype on timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoliz committed Jun 17, 2024
1 parent 38b1176 commit 3830462
Show file tree
Hide file tree
Showing 5 changed files with 534 additions and 3 deletions.
1 change: 0 additions & 1 deletion YoFi.Data.Postgres/ApplicationDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ protected override void OnModelCreating(ModelBuilder builder)
builder.Entity<Split>().ToTable("Split");

builder.Entity<Transaction>().HasIndex(p => new { p.Timestamp, p.Hidden, p.Category });
builder.Entity<Transaction>().Property(b => b.Timestamp).HasColumnType("timestamp without time zone");
}

#region Entity Sets
Expand Down
Loading

0 comments on commit 3830462

Please sign in to comment.