19 lines
366 B
Markdown
19 lines
366 B
Markdown
|
# migrations.accords-library.com
|
||
|
|
||
|
Provides to Accord's Library the tools to make migrations of the database.
|
||
|
|
||
|
## Credentials to Strapi
|
||
|
|
||
|
Create a .env.local file with the following information:
|
||
|
```txt
|
||
|
URL_GRAPHQL=https://path.to.strapi.com/graphql
|
||
|
ACCESS_TOKEN=token_generated_by_strapi
|
||
|
```
|
||
|
|
||
|
Then run the script using:
|
||
|
|
||
|
```bash
|
||
|
python3 prog.py
|
||
|
```
|
||
|
|