Add note about redundant BusinessID in employee table
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
736b19d0cf
commit
31e71068d1
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ try {
|
|||
}
|
||||
|
||||
// Insert new
|
||||
// NOTE: BusinessID in lt_Users_Businesses_Employees is technically redundant since
|
||||
// the business relationship is established via ServicePoint -> Beacon chain.
|
||||
// Kept for legacy/convenience but could be derived from context.
|
||||
queryExecute("
|
||||
INSERT INTO lt_Users_Businesses_Employees (BusinessID, UserID, EmployeeStatusID, EmployeeIsActive)
|
||||
VALUES (?, ?, 2, 1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue