format
This commit is contained in:
parent
de6d4c47a3
commit
8cef32c7a4
|
@ -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.
|
||||||
|
|
|
@ -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!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user