File tree Expand file tree Collapse file tree 5 files changed +0
-9
lines changed
apps/dokploy/components/dashboard/project
packages/server/src/db/schema Expand file tree Collapse file tree 5 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ const baseDatabaseSchema = z.object({
85
85
} ) ,
86
86
databasePassword : z
87
87
. string ( )
88
- . min ( 1 , "Password is required" )
89
88
. regex ( / ^ [ a - z A - Z 0 - 9 @ # % ^ & * ( ) _ + \- = [ \] { } | ; : , . < > ? ~ ` ] * $ / , {
90
89
message :
91
90
"Password contains invalid characters. Please avoid: $ ! ' \" \\ / and space characters for database compatibility" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { z } from "zod";
6
6
import { backups } from "./backups" ;
7
7
import { environments } from "./environment" ;
8
8
import { mounts } from "./mount" ;
9
- import { projects } from "./project" ;
10
9
import { server } from "./server" ;
11
10
import {
12
11
applicationStatus ,
@@ -98,7 +97,6 @@ const createSchema = createInsertSchema(mariadb, {
98
97
databaseUser : z . string ( ) . min ( 1 ) ,
99
98
databasePassword : z
100
99
. string ( )
101
- . min ( 1 , "Password is required" )
102
100
. regex ( / ^ [ a - z A - Z 0 - 9 @ # % ^ & * ( ) _ + \- = [ \] { } | ; : , . < > ? ~ ` ] * $ / , {
103
101
message :
104
102
"Password contains invalid characters. Please avoid: $ ! ' \" \\ / and space characters for database compatibility" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { z } from "zod";
6
6
import { backups } from "./backups" ;
7
7
import { environments } from "./environment" ;
8
8
import { mounts } from "./mount" ;
9
- import { projects } from "./project" ;
10
9
import { server } from "./server" ;
11
10
import {
12
11
applicationStatus ,
@@ -93,7 +92,6 @@ const createSchema = createInsertSchema(mongo, {
93
92
name : z . string ( ) . min ( 1 ) ,
94
93
databasePassword : z
95
94
. string ( )
96
- . min ( 1 , "Password is required" )
97
95
. regex ( / ^ [ a - z A - Z 0 - 9 @ # % ^ & * ( ) _ + \- = [ \] { } | ; : , . < > ? ~ ` ] * $ / , {
98
96
message :
99
97
"Password contains invalid characters. Please avoid: $ ! ' \" \\ / and space characters for database compatibility" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { z } from "zod";
6
6
import { backups } from "./backups" ;
7
7
import { environments } from "./environment" ;
8
8
import { mounts } from "./mount" ;
9
- import { projects } from "./project" ;
10
9
import { server } from "./server" ;
11
10
import {
12
11
applicationStatus ,
@@ -96,7 +95,6 @@ const createSchema = createInsertSchema(mysql, {
96
95
databaseUser : z . string ( ) . min ( 1 ) ,
97
96
databasePassword : z
98
97
. string ( )
99
- . min ( 1 , "Password is required" )
100
98
. regex ( / ^ [ a - z A - Z 0 - 9 @ # % ^ & * ( ) _ + \- = [ \] { } | ; : , . < > ? ~ ` ] * $ / , {
101
99
message :
102
100
"Password contains invalid characters. Please avoid: $ ! ' \" \\ / and space characters for database compatibility" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { z } from "zod";
6
6
import { backups } from "./backups" ;
7
7
import { environments } from "./environment" ;
8
8
import { mounts } from "./mount" ;
9
- import { projects } from "./project" ;
10
9
import { server } from "./server" ;
11
10
import {
12
11
applicationStatus ,
@@ -92,7 +91,6 @@ const createSchema = createInsertSchema(postgres, {
92
91
name : z . string ( ) . min ( 1 ) ,
93
92
databasePassword : z
94
93
. string ( )
95
- . min ( 1 , "Password is required" )
96
94
. regex ( / ^ [ a - z A - Z 0 - 9 @ # % ^ & * ( ) _ + \- = [ \] { } | ; : , . < > ? ~ ` ] * $ / , {
97
95
message :
98
96
"Password contains invalid characters. Please avoid: $ ! ' \" \\ / and space characters for database compatibility" ,
You can’t perform that action at this time.
0 commit comments