diff options
Diffstat (limited to 'scripts/drop-database.rb')
-rwxr-xr-x | scripts/drop-database.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/drop-database.rb b/scripts/drop-database.rb new file mode 100755 index 0000000..e263312 --- /dev/null +++ b/scripts/drop-database.rb @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +require_relative '../../lazar/lib/lazar' +$mongo.database.drop +$gridfs = $mongo.database.fs # recreate GridFS indexes + |