Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace PowderCoating.Infrastructure.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Partial class stub for the dashboard tips portion of <see cref="SeedDataService"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Dashboard tips (the rotating "Tip of the Day" shown on the main dashboard) are seeded
|
||||
/// exactly once via EF Core migration <c>20260404200000_SeedInitialDashboardTips</c>, which
|
||||
/// inserts the full set of 40 tips as raw SQL so they are available from the very first
|
||||
/// database creation without requiring a manual seed run.
|
||||
///
|
||||
/// New tips should be added through the Tips management UI
|
||||
/// (<em>Platform Management → Tips</em>) for one-off additions, or via a new EF migration
|
||||
/// for bulk additions that must be version-controlled. Do not add a runtime seed method
|
||||
/// here — the migration approach guarantees tips exist even before the Platform Management
|
||||
/// seed action is invoked by a SuperAdmin.
|
||||
/// </remarks>
|
||||
public partial class SeedDataService
|
||||
{
|
||||
// No runtime seed method for tips — see remarks above.
|
||||
}
|
||||
Reference in New Issue
Block a user