Skip to content

Commit d64e1bd

Browse files
committed
feat(persistence): add database migrate command in the check_minimum_required_version error message
1 parent 169950f commit d64e1bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/mithril-persistence/src/database/version_checker.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,17 @@ insert into db_version (application_type, version, updated_at) values ('{applica
175175
176176
First, download the required node version in your current directory by running the following command:
177177
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-{} -d {} -p $(pwd)
178+
179+
Then run the database migrate command:
180+
mithril-{} database migrate --stores-directory /path/to/stores-directory
178181
"#,
179182
migration.version,
180183
self.application_type.to_string(),
181184
min_requirement.node_version,
182185
min_requirement.release_version,
183186
self.application_type.to_string(),
184187
min_requirement.release_version,
188+
self.application_type.to_string()
185189
));
186190
}
187191
}

0 commit comments

Comments
 (0)