public bool is_database_up_to_date() { database_migrator.open_connection(false); // TODO: Consider if we should just return false if the roundhouse tables does not exist, instead of creating them. database_migrator.run_roundhouse_support_tasks(); bool up_to_date = check_folder(this.known_folders.alter_database) && check_folder(this.known_folders.up) && check_folder(this.known_folders.run_first_after_up) && check_folder(this.known_folders.functions) && check_folder(this.known_folders.views) && check_folder(this.known_folders.sprocs) && check_folder(this.known_folders.indexes) && check_folder(this.known_folders.run_after_other_any_time_scripts) && check_folder(this.known_folders.permissions); database_migrator.close_connection(); return(up_to_date); }