Skip to content

Commit 9f064d5

Browse files
committed
fix: Reflect correct version in box.json file
1 parent a6ab2c5 commit 9f064d5

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"CFMigrations",
3-
"version":"2.0.9",
3+
"version":"3.0.1",
44
"location":"forgeboxStorage",
55
"author":"Eric Peterson",
66
"homepage":"https://github.com/coldbox-modules/cfmigrations",

models/MigrationService.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ component accessors="true" {
3434
.each( function( key ) {
3535
if ( isSimpleValue( args[ key ] ) ) {
3636
// For some reason Lucee only picks up the `invoke` and ACF only picks up the scope assignment.
37-
invoke( this, "set" & key, { "#key#" = args[ key ] } );
37+
invoke( this, "set" & key, { "#key#": args[ key ] } );
3838
variables[ key ] = args[ key ];
3939
} else if ( key == "properties" ) {
4040
variables.managerProperties = args[ key ];

models/QBMigrationManager.cfc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,15 @@ component accessors="true" {
136136

137137
var migration = wirebox.getInstance( migrationStruct.componentPath );
138138

139-
var schema = wirebox.getInstance( "SchemaBuilder@qb" ).setGrammar( wirebox.getInstance( defaultGrammar ) ).setDefaultOptions( { datasource: getDatasource() } );
139+
var schema = wirebox
140+
.getInstance( "SchemaBuilder@qb" )
141+
.setGrammar( wirebox.getInstance( defaultGrammar ) )
142+
.setDefaultOptions( { datasource: getDatasource() } );
140143

141-
var query = wirebox.getInstance( "QueryBuilder@qb" ).setGrammar( wirebox.getInstance( defaultGrammar ) ).setDefaultOptions( { datasource: getDatasource() } );
144+
var query = wirebox
145+
.getInstance( "QueryBuilder@qb" )
146+
.setGrammar( wirebox.getInstance( defaultGrammar ) )
147+
.setDefaultOptions( { datasource: getDatasource() } );
142148

143149
preProcessHook( migrationStruct );
144150

0 commit comments

Comments
 (0)