Skip to content

Commit

Permalink
🐛date_time
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviMatheus committed Dec 6, 2023
1 parent 53b365e commit 0598cdd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fernandes-natanael/printgo-prisma",
"version": "1.0.18",
"version": "1.0.19",
"description": "",
"scripts": {
"db:introspect": "dotenv -- prisma introspect",
Expand Down
2 changes: 2 additions & 0 deletions prisma/migrations/20231206043456_date_time/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "impressoras" ADD COLUMN "datacontadorRetirada" TIMESTAMP(3);
1 change: 1 addition & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ model Impressora {
unidadeId String?
contadorRetirada String?
dataRetirada String?
datacontadorRetirada DateTime?
ultimoContador String?
status ImpressoraStatus @default(ATIVO)
impressoes Impressao[]
Expand Down

0 comments on commit 0598cdd

Please sign in to comment.