Commit bd2406b
bin/createdb-if-not-exists: use instead of dropdb
Developing locally against Dashboard uses the `ledger` database.
Running `$CHAIN/sdk/{java,node,ruby}/bin/tests` drops that database.
Instead of dropping the database and then creating it,
check to see if it doesn't exist, and then create it.
Extract to a script for clarity.
Closes #3559
Author: Dan Croak <dan@statusok.com>
Date: Wed May 2 12:08:22 2018 -0700
upstream:a1cfec659f968c7984f7b546f37a590731bae64c1 parent e6b556c commit bd2406b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
0 commit comments