Skip to content

Commit 5abc776

Browse files
authored
fix: orm_version and database_type are now optionnal on schema:apply to ensure v2 compatibility (#612)
1 parent 7d0450a commit 5abc776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/schema/apply.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ class ApplyCommand extends AbstractAuthenticatedCommand {
6464
}
6565

6666
const stack = this.joi.object().keys({
67-
orm_version: this.joi.string().required(),
68-
database_type: this.joi.string().required(),
67+
orm_version: this.joi.string(),
68+
database_type: this.joi.string(),
6969
framework_version: this.joi.string().allow(null),
7070
engine: this.joi.string().allow(null),
7171
engine_version: this.joi.string().allow(null),

0 commit comments

Comments
 (0)