Permalink
Browse files

Enable flood mode

  • Loading branch information...
1 parent 5c84fb3 commit 9d7f582e02ebea850bcb706ce3c37d052be7caa2 @svenstaro committed Jun 11, 2013
Showing with 7 additions and 0 deletions.
  1. 0 scripts/init-db.py
  2. +7 −0 scripts/seed-db.py
View
0 scripts/init-db.py 100644 → 100755
File mode changed.
View
7 scripts/seed-db.py 100644 → 100755
@@ -138,5 +138,12 @@
db.session.add(comment4)
db.session.add(comment5)
+# Flood db
+if "--flood" in sys.argv:
+ for u in range(1000):
+ user = User("user"+str(u), "lol", "lol"+str(u)+"@example.com", is_verified = True)
+ user.joinJam(rgj3)
+ db.session.add(user)
+
# Commmit it all
db.session.commit()

0 comments on commit 9d7f582

Please sign in to comment.