Code Monkey home page Code Monkey logo

Comments (6)

touqeer-gt avatar touqeer-gt commented on August 16, 2024 1

Yup after updating to 1.0.3 it work like a charm!

thanks for the quick fix!

from rbac.

TheMY3 avatar TheMY3 commented on August 16, 2024

@touqeer-gt I will fix it in 5 minutes :) I think you are using MySQL and they have limit in 64 chars or someting like this.

from rbac.

TheMY3 avatar TheMY3 commented on August 16, 2024

@touqeer-gt you can try to update package

from rbac.

touqeer-gt avatar touqeer-gt commented on August 16, 2024

yup i'm using MySQL after updating it's still not working version is 1.0.2, btw i just change this line to get rid of the error:
$table->primary(['permission_id', 'permission_group_id']);
to
$table->primary(['permission_id']);

in /database/migrations/2016_09_28_105744_create_permission_permission_group_table.php

from rbac.

touqeer-gt avatar touqeer-gt commented on August 16, 2024

JUST an FYI ,

I also deleted all the migrations in app/database/migration and re run the command: php artisan vendor:publish --provider="YaroslavMolchan\Rbac\RbacServiceProvider" --tag=migrations
and then php artisan migrate

from rbac.

TheMY3 avatar TheMY3 commented on August 16, 2024

@touqeer-gt yeah, sorry for late answer, now i update to version 1.0.3, I miss primary key name and it was error, now I change it, let`s try

from rbac.

Related Issues (8)

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.