This commit is contained in:
Untone 2021-08-21 03:40:41 +03:00
parent de6d4c47a3
commit 8cef32c7a4
2 changed files with 43 additions and 41 deletions

View File

@ -26,7 +26,9 @@ bson2json.json_tables() # creates all the needed data json from bson mongodump
```sh ```sh
pipenv run python migrate.py users pipenv run python migrate.py users
``` ```
Note: this will create db entries and it is not tolerant to existed unique email.
Note: this will create db entries and it is not tolerant to existed unique
email.
3. then topics and shouts 3. then topics and shouts
@ -35,4 +37,5 @@ pipenv run python migrate.py topics
pipenv run python migrate.py shouts pipenv run python migrate.py shouts
``` ```
Now you got the *.dict.json files which contain all the data with old and new(!) ids. Now you got the \*.dict.json files which contain all the data with old and
new(!) ids.

View File

@ -214,7 +214,6 @@ type Topic {
# TODO: resolvers to add/remove topics from publication # TODO: resolvers to add/remove topics from publication
type Proposal { type Proposal {
body: String! body: String!
shout: Int! shout: Int!