mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
First version with PostgreSQL
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
for i in $(seq 1 6); do
|
||||
printf "use peertube-test%s;\ndb.dropDatabase();" "$i" | mongo
|
||||
dropdb "peertube_test$i"
|
||||
rm -rf "./test$i"
|
||||
createdb "peertube_test$i"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user