Skip to content

Commit b022467

Browse files
committed
fix: Default the schema to an empty string
1 parent 43a323e commit b022467

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/QBMigrationManager.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ component accessors="true" {
55
property name="defaultGrammar" default="AutoDiscover@qb";
66
property name="datasource";
77
property name="migrationsTable" default="cfmigrations";
8-
property name="schema";
8+
property name="schema" default="";
99
property name="useTransactions" default="true";
1010

1111
public QBMigrationManager function init() {

tests/specs/MigrationServiceSpec.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ component extends="tests.resources.ModuleIntegrationSpec" appMapping="/app" {
1010
expect( manager.getDefaultGrammar() ).toBe( "AutoDiscover@qb" );
1111
expect( manager.getDatasource() ).toBeNull();
1212
expect( manager.getMigrationsTable() ).toBe( "cfmigrations" );
13-
expect( manager.getSchema() ).toBeNull();
13+
expect( manager.getSchema() ).toBe( "" );
1414
expect( manager.getUseTransactions() ).toBeTrue();
1515
} );
1616

0 commit comments

Comments
 (0)