Price reminder and init approval
* Start price reminder grain * Add config and init grain at startup * Save init wallet when already init
This commit is contained in:
@@ -64,6 +64,9 @@ public class ManagingDbContext : DbContext
|
||||
entity.Property(e => e.Type)
|
||||
.IsRequired()
|
||||
.HasConversion<string>(); // Store enum as string
|
||||
entity.Property(e => e.IsGmxInitialized)
|
||||
.IsRequired()
|
||||
.HasDefaultValue(false); // Default value for new records
|
||||
|
||||
// Create unique index on account name
|
||||
entity.HasIndex(e => e.Name).IsUnique();
|
||||
|
||||
Reference in New Issue
Block a user