projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eae65c
)
migrate on production
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 7 Jan 2013 21:45:41 +0000
(22:45 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 7 Jan 2013 21:45:41 +0000
(22:45 +0100)
migrate-db.pl
patch
|
blob
|
history
diff --git
a/migrate-db.pl
b/migrate-db.pl
index
0ddd1eb
..
b228eec
100755
(executable)
--- a/
migrate-db.pl
+++ b/
migrate-db.pl
@@
-8,7
+8,7
@@
use Data::Dump qw(dump);
my $ua = Mojo::UserAgent->new;
my $from = 'http://10.60.0.95:5984/drzb2013';
-my $to = 'http://10.60.0.9
2
:5984/drzb2013v2';
+my $to = 'http://10.60.0.9
5
:5984/drzb2013v2';
my $docs = $ua->get("$from/_all_docs?include_docs=true")->res->json;