Revert "simplify conditional"

This reverts commit 1170ea31b9ec254d60d2379cfde1eeb5629916ef.
Revert "There is a dump/load for schema_format sql"

This reverts commit f1c7a6f8a0aa500cb0b4efaa8474e2ffdff32404.
Revert "Still need to guard against activerecord being defined"

This reverts commit 819e25c15edf09a735972b875f7b82e6de524fd5.
Revert "thanks for the patch Samuel"

This reverts commit f760b159de84551e20b7007bafc26475ae3b2501.