Check for table existence before dropping

When running the migrations.sql, it would be nice to not have the immediate drop error. This takes care of that.