bin/regen.sh - Drop-create table `zipcodes`
authorTim Otten <totten@civicrm.org>
Mon, 23 May 2016 20:31:07 +0000 (13:31 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 23 May 2016 20:31:07 +0000 (13:31 -0700)
commit08b8c7c3072950f8df404af39295c94366f706d7
treea7551673002f2e5c016a5ad7e43403f00d9224d1
parent185aed97f0fabdb4b4603c2564af8ac48048de9a
bin/regen.sh - Drop-create table `zipcodes`

The original `regen.sh` script drops the table `zipcodes` after creating it.
That works fine in normal execution (when `regen.sh` finishes without
erorr).  But if there is an error, then the table gets left in the DB -- and
creates a conflict when you try re-run `regen.sh`.

This patch does a 'drop-create' so that subsequent runs will work despite a
previous error.
bin/regen.sh