Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
gitfrosh committed Apr 27, 2024
1 parent e8ceb07 commit 074b129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/data-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
for file in db/json/*.json; do
collection=$(basename "$file" .json)
echo "Importing $file to collection $collection"
mongoimport --type json --uri ${{ secrets.MONGODB_URI }} --collection $collection --file "$file" --drop --maintainInsertionOrder --jsonArray
mongoimport --type json --uri ${{ secrets.MONGODB_URI }} --collection "$collection" --file "$file" --drop --maintainInsertionOrder --jsonArray
done
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
2 changes: 1 addition & 1 deletion db/csv/quotes.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dialog,movie,character,_id
Deagol!!,ObjectId(5cd95395de30eff6ebccde5d),ObjectId(5cd99d4bde30eff6ebccfe9e),ObjectId(5cd96e05de30eff6ebcce7e9)
Deagol!,ObjectId(5cd95395de30eff6ebccde5d),ObjectId(5cd99d4bde30eff6ebccfe9e),ObjectId(5cd96e05de30eff6ebcce7e9)
Deagol!,ObjectId(5cd95395de30eff6ebccde5d),ObjectId(5cd99d4bde30eff6ebccfe9e),ObjectId(5cd96e05de30eff6ebcce7ea)
Deagol!,ObjectId(5cd95395de30eff6ebccde5d),ObjectId(5cd99d4bde30eff6ebccfe9e),ObjectId(5cd96e05de30eff6ebcce7eb)
Give us that! Deagol my love,ObjectId(5cd95395de30eff6ebccde5d),ObjectId(5cd99d4bde30eff6ebccfe9e),ObjectId(5cd96e05de30eff6ebcce7ec)
Expand Down

0 comments on commit 074b129

Please sign in to comment.