summaryrefslogtreecommitdiff
path: root/ruby/destroy-all-user-dbs
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-09-24 16:56:11 -0700
committerelijah <elijah@riseup.net>2015-09-24 16:56:11 -0700
commitc577e3ec23de2ff8b8f8272b687351f62cfcf5ca (patch)
treee1cc474571922a9e3a60319583d988bf68773661 /ruby/destroy-all-user-dbs
parent26b54adadf7be2a60ecccde57519653fe769efa4 (diff)
added script destroy-user-db
Diffstat (limited to 'ruby/destroy-all-user-dbs')
-rwxr-xr-xruby/destroy-all-user-dbs14
1 files changed, 0 insertions, 14 deletions
diff --git a/ruby/destroy-all-user-dbs b/ruby/destroy-all-user-dbs
deleted file mode 100755
index 84cec56..0000000
--- a/ruby/destroy-all-user-dbs
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/ruby
-
-require 'couchrest'
-
-server = CouchRest::Server.new
-
-server.databases.each do |db_name|
- if db_name =~ /^user-[a-f0-9]{32}$/
- server.database(db_name).delete!
- end
-end
-
-
-