Skip to content

Commit

Permalink
updated schema method call
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Jul 4, 2022
1 parent 709410a commit 68291ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masoniteorm/schema/Schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def has_column(self, table, column, query_only=False):

def get_columns(self, table, dict=True):
table = self.platform().get_current_schema(
self.new_connection(), table, schema=self.schema
self.new_connection(), table, schema=self.get_schema()
)
result = {}
if dict:
Expand Down

0 comments on commit 68291ca

Please sign in to comment.