<commit_before>component output="false" mixin="none" environment="design,development,maintenance" {

	include "../global/cfml.cfm";

	public dbmigrate function init(
		string migratePath = "/db/migrate/",
		string sqlPath = "/db/sql/",
		string templatePath = "wheels/dbmigrate/templates/"
	) {
		this.paths.migrate   = ExpandPath(arguments.migratePath);
		this.paths.sql       = ExpandPath(arguments.sqlPath);
		this.paths.templates = ExpandPath(arguments.templatePath);
		this.paths.migrateComponents = ArrayToList(ListToArray(arguments.migratePath, "/"), ".");
		return this;
	}<commit_msg>Allow DB Migrate to find Migrate Files when running from a subdirectory<commit_after>component output="false" mixin="none" environment="design,development,maintenance" {

	include "../global/cfml.cfm";

	public dbmigrate function init(
		string migratePath = application.wheels.webpath & "/db/migrate/",
		string sqlPath = application.wheels.webpath & "/db/sql/",
		string templatePath = "wheels/dbmigrate/templates/"
	) {
		this.paths.migrate   = ExpandPath(arguments.migratePath);
		this.paths.sql       = ExpandPath(arguments.sqlPath);
		this.paths.templates = ExpandPath(arguments.templatePath);
		this.paths.migrateComponents = ArrayToList(ListToArray(arguments.migratePath, "/"), ".");
		return this;
	}
{'fraction_non_alphanumeric': 0.13671274961597543, 'fraction_numerical': 0.0, 'mean_word_length': 4.977064220183486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5084975', 'n_tokens_mistral': 429, 'n_tokens_neox': 413, 'n_words': 71}