Skip to content

Commit

Permalink
feat(database): add DBA column to Business model and migration
Browse files Browse the repository at this point in the history
- Introduce a new 'dba' column to the Business schema
- Create migration for adding the 'dba' column in the database

(Your database schema has more additions than my Netflix watchlist)
  • Loading branch information
tomer-shvadron committed Dec 3, 2024
1 parent aff802a commit cdd0202
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion services/workflows-service/prisma/data-migrations
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Business" ADD COLUMN "dba" TEXT;
1 change: 1 addition & 0 deletions services/workflows-service/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ model Business {
companyName String // Official registered name of the business entity
registrationNumber String? // Unique registration number assigned by the relevant authorities
legalForm String? // Legal structure of the business entity, e.g., LLC, corporation, partnership
dba String? // Doing Business As (DBA) name of the business entity
country String?
countryOfIncorporation String? // Country where the business entity is incorporated
dateOfIncorporation DateTime? // Date when the business entity was incorporated
Expand Down

0 comments on commit cdd0202

Please sign in to comment.