File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scripts/docs/en/userver/libraries Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ service from a template.
134134
135135#### Migration of configs from the easy library to a service template
136136
137- To get the up to date static configs from a easy library, just build the binary and run it with ` --dump-config ` and
137+ To get the up to date static configs from the easy library, just build the service and run it with ` --dump-config ` and
138138the binary will output the config to ` STDOUT ` . You can also provide a path to dump the static config, for example
139139` ./your_prototype --dump-config pg_service_template_based_service/configs/static_config.yaml ` .
140140
@@ -144,8 +144,8 @@ If there's any `userver_testsuite_add_simple(DUMP_CONFIG True)` in a `CMakeLists
144144
145145#### Migration of database schema from the easy library to a service template
146146
147- To get the up to database schemas from an easy library, just build the binary and run it with ` --dump-db-schema ` and the
148- binary will output the database schema to ` STDOUT ` . You can also provide a path to dump the schema, for example
147+ To get the up to date database schemas from an easy library, just build the binary and run it with ` --dump-db-schema `
148+ and the binary will output the database schema to ` STDOUT ` . You can also provide a path to dump the schema, for example
149149` ./your_prototype --dump-db-schema pg_service_template_based_service/postgresql/schemas/db_1.sql ` .
150150
151151Another option is to take the schema from easy::HttpWith::DbSchema(). In any case, do not forget to remove the
You can’t perform that action at this time.
0 commit comments