-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add businessId to Instance model
Updated the Instance model to include a new optional string property called businessId. This change affects the following files: - prisma/postgresql-schema.prisma - src/api/controllers/instance.controller.ts - src/api/dto/instance.dto.ts - src/api/services/monitor.service.ts - src/validate/instance.schema.ts A new untracked migration folder has been created to manage database schema updates: - prisma/migrations/20240712144948_add_business_id_column_to_instances/ This change allows for storing a business identifier alongside the instance, enhancing the ability to categorize and manage instances more effectively.
- Loading branch information
1 parent
f6d4f94
commit a145935
Showing
6 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
prisma/migrations/20240712144948_add_business_id_column_to_instances/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- AlterTable | ||
ALTER TABLE "Instance" ADD COLUMN "businessId" VARCHAR(100); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters