mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add currency inflation.
This commit is contained in:
@@ -97,6 +97,7 @@ namespace Marechai.Database.Models
|
||||
public virtual DbSet<StorageByOwnedMachine> StorageByOwnedMachine { get; set; }
|
||||
public virtual DbSet<Audit> Audit { get; set; }
|
||||
public virtual DbSet<Iso4217> Iso4217 { get; set; }
|
||||
public virtual DbSet<CurrencyInflation> CurrenciesInflation { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
@@ -1559,6 +1560,11 @@ namespace Marechai.Database.Models
|
||||
entity.HasIndex(d => d.Numeric);
|
||||
entity.HasIndex(d => d.Withdrawn);
|
||||
});
|
||||
|
||||
modelBuilder.Entity<CurrencyInflation>(entity =>
|
||||
{
|
||||
entity.HasIndex(d => d.Year);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user