change the description of emum in initialData.md

parent 0b3b9ad5
......@@ -252,7 +252,7 @@ Add in the entity `req_reqList.meta` the attribute status.
For update the models database, execute the command
`ubcli generateDDL -u admin -p admin -host http://localhost:888 -autorun`
Create the file `ubm_enum-req.csv` with enum of statuses, which will using in requests list.
Create the file `\models\requests\_initialData\ubm_enum-req.csv` with enum of statuses, which will using in requests list.
```
......@@ -263,7 +263,7 @@ REQUEST_STATUS;CLOSED;Closed;40
```
Create the file `040_fill_enum-req.js` with following code
Create the file `\models\requests\_initialData\015_fill_enum-req.js` with following code the following message should appear in the console:
```javascript
......@@ -279,7 +279,10 @@ module.exports = function(session){
```
Execute the command `ubcli initialize` and check if scripts work correctly.
If you execute the command `ubcli initialize -u admin -p admin -host http://localhost:888 -m RequestList`
![fill_enum_console](img/initialData/fill_enum_console.PNG)
The error message means that the department list is already full. In order for the script in the file `020_fill_departments.js` to not be executed, you can put _ before the file name.
<a name = 'localize'></a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment