Commit graph

8 commits

Author SHA1 Message Date
e0ecd86288 Establish a one-to-one relationship
Define a one-to-one relationship between CompanyTable and ProductTable.

Correct a typo in the CompanyTable DbSet name within the ApplicationDbContext to ensure correct database mapping and operations.
2025-08-11 20:12:42 +02:00
Jiří Vrabec
703d4751e2 Add EF object history 2025-08-09 19:05:02 +02:00
e06700458f Create default user profile on registration
Implement a `UserWithProfileManager` to automatically create a default user profile upon user registration.
This ensures that each user has an associated profile with default values (e.g., `UserName`, `IsAdmin`, `IsDeleted`).
Updates the database schema to reflect the change from UserId to UserProfileId in the UserProfileCompanyTableStat and UserProfileProductTableStat entities.
2025-08-09 18:54:27 +02:00
e7ce2c7718 Fix forgotten renaming of user, change applicationuser id type to guid 2025-08-09 17:57:41 +02:00
786f83bf2d Connect UserProfile with ApplicationUser
Establishes a link between DbUserProfile and DbApplicationUser,
allowing for better management of user-related information
and integration with ASP.NET Identity.

Renames DbUser to DbUserProfile and updates related entities and configurations.
2025-08-09 15:43:32 +02:00
Jiří Vrabec
10dd4c9b0d Map EF company table and table view 2025-08-09 13:10:58 +02:00
Jiří Vrabec
2830d5dd48 Upgrade EF models and add some EF mappings 2025-08-09 12:54:29 +02:00
Jiří Vrabec
b7996872cb Add EF objects 2025-08-09 01:00:49 +02:00