diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-06 11:27:03 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-06 11:27:03 +0700 |
| commit | 137737e4c215f5a9a6aae78cafbefe5b4cf7793d (patch) | |
| tree | 325b429f5fae6ecca2de177c537d237191fb3dc5 /prisma | |
| parent | 38db9dbede5ee9d99068fb9a98941fd15c2730bf (diff) | |
<iman> update scanner and add value
Diffstat (limited to 'prisma')
| -rw-r--r-- | prisma/migrations/20250206040903_add_value_column/migration.sql | 2 | ||||
| -rw-r--r-- | prisma/schema.prisma | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/prisma/migrations/20250206040903_add_value_column/migration.sql b/prisma/migrations/20250206040903_add_value_column/migration.sql new file mode 100644 index 0000000..0dd8b8b --- /dev/null +++ b/prisma/migrations/20250206040903_add_value_column/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "Product" ADD COLUMN "value" FLOAT; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index ef78e48..68bc387 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -39,6 +39,7 @@ model Location { model Product { id Int @id @default(autoincrement()) externalId String? + value Float? barcode String itemCode String name String |
