package com.tyndalehouse.step.dataloader.loaders; import java.io.IOException; import java.sql.SQLException; public class SchemaLoader extends AbstractLoader { public SchemaLoader() throws SQLException { super(); } public SchemaLoader recreateAll() throws IOException, SQLException { //delete database first //the recreate executeFile("/sql/com/tyndalehouse/step/dataloader/sql/create/1.schema.sql", true); executeFile("/sql/com/tyndalehouse/step/dataloader/sql/create/2.scripture_referencing.sql"); executeFile("/sql/com/tyndalehouse/step/dataloader/sql/create/3.timeline.sql"); return this; } }