GithubHelp home page GithubHelp logo

Error with update about sentinel HOT 5 CLOSED

cartalyst avatar cartalyst commented on May 21, 2024
Error with update

from sentinel.

Comments (5)

suwardany avatar suwardany commented on May 21, 2024

Hello @gmhenderson

That is because of the final changes introduced before it was tagged stable, check out the guide here for more info on what changed, https://gist.github.com/suwardany/36b799127aed5952236a

from sentinel.

gmhenderson avatar gmhenderson commented on May 21, 2024

Hello @suwardany. Unfortunately the guide isn't helping. I ran a composer update already and I had also wiped my database, so I don't have any of the old migrations, so the MigrateSentinel class can't find them. Shouldn't a composer update be like installing a 'fresh' version of Sentinel? I tried removing my entire vendor dir and then running composer update again, but I get the same error. Any suggestions?

from sentinel.

suwardany avatar suwardany commented on May 21, 2024

Hello again @gmhenderson

If you wiped the db then ignore the migration script and just run the migrations

EDIT: The Sentinel migrations, php artisan migrate --package=cartalyst=sentinel

from sentinel.

 avatar commented on May 21, 2024

I have the same problem. When I run composer install/update everything works fine, but when I run php artisan migrate --package=cartalyst/sentinel I receive the same error as @gmhenderson.

from sentinel.

gmhenderson avatar gmhenderson commented on May 21, 2024

Got it, I didn't see huglester's comment at the bottom of the migration guide, about updating the config file. So be sure to add 'lottery' => [2, 100], to the reminders and activations arrays in the sentinel config file.

from sentinel.

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.