File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
adminforth/documentation/docs/tutorial/07-Plugins Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ model audit_logs {
4141And ` prisma migrate ` :
4242
4343` ` ` bash
44- npx -- yes prisma migrate dev -- name add - audit - logs
44+ npm run makemigration -- -- name add - audit - logs && npm run migrate : local
4545` ` `
4646
4747Also to make this code start
@@ -202,7 +202,7 @@ model audit_logs {
202202And ` prisma migrate ` :
203203
204204` ` ` bash
205- npx -- yes prisma migrate dev -- name add - ip - address - to - audit - logs
205+ npm run makemigration -- -- name add - ip - address - to - audit - logs && npm run migrate : local
206206` ` `
207207
208208Also, update the resource configuration in ` ./ resources / auditLogs .ts ` :
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ model adminuser {
3131Then:
3232
3333` ` ` bash
34- npx -- yes prisma migrate dev -- name init
34+ npm run makemigration -- -- name add - 2fa - secret && npm run migrate : local
35+
36+
3537` ` `
3638
3739And add it to ` adminuser .ts `
Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ model adminuser {
5050And prisma migrate:
5151
5252` ` ` bash
53- npx -- yes prisma migrate dev -- name add - email - confirmed - to - adminuser
53+ npm run makemigration -- -- name add - email - confirmed - to - adminuser && npm run migrate : local
54+
55+
5456` ` `
5557
5658Next, install the ` @adminforth / email - adapter - aws - ses ` package:
You can’t perform that action at this time.
0 commit comments