Code Monkey home page Code Monkey logo

Comments (6)

willvincent avatar willvincent commented on May 31, 2024 1

This should no longer occur with newest releases.

from laravel-rateable.

krognome avatar krognome commented on May 31, 2024 1

Yeah many aps use multiple DB so I guess this package has not had that much attention or no one said anything and just modified / extended the package. Thanks for the package it saves me a ton of time in development. I need to decide if I should find a rating package that accounts for more then 1 DB or just extend this one.

from laravel-rateable.

willvincent avatar willvincent commented on May 31, 2024

Why are you running that multiple times?

from laravel-rateable.

krognome avatar krognome commented on May 31, 2024

I have installed 2 packages now and both have not considered that people use more then 1 database :'( why can't the whole package inset into 1 db and reference that 1 db even if model uses another? This break the package.

from laravel-rateable.

willvincent avatar willvincent commented on May 31, 2024

You're welcome to create a pull request, with tests. But complaining about something nobody else has ever asked for isn't very productive.

from laravel-rateable.

krognome avatar krognome commented on May 31, 2024

Oh it's because the solution is simple just add protected $connection = 'mysql'; (main db connection name) to: vendor/willvincent/laravel-rateable/src/Rating.php

from laravel-rateable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.