def register_database(self):
    from masoniteorm.query import QueryBuilder
    self.application.bind('builder', QueryBuilder(connection_details=config('database.databases')))
    self.application.bind('migrations.location', 'databases/migrations')
    self.application.bind('seeds.location', 'databases/seeds')
    self.application.bind('resolver', config('database.db'))
def register_database(self):
    from masoniteorm.query import QueryBuilder
    self.application.bind('builder', QueryBuilder(connection_details=config('database.databases')))
    self.application.bind('migrations.location', 'databases/migrations')
    self.application.bind('seeds.location', 'databases/seeds')
    self.application.bind('resolver', config('database.db'))