Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix postgres rule unserialization #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 19, 2020

  1. Fix postgres rule unserialization

    Yii2 migration for Postgres uses bytea for field "data" (see: yiisoft/yii2@2379027#diff-9dc218c5c0834622090067e24bb745073a454b843a5e150d1498af80ebdd73fa) and bytea is resource in php so unserialize will throw error. 
    
    This code is taken from Yii2 DbManager:
    https://github.com/yiisoft/yii2/blob/master/framework/rbac/DbManager.php#L449
    pawelkania authored Oct 19, 2020
    Configuration menu
    Copy the full SHA
    557acce View commit details
    Browse the repository at this point in the history