Closed ricardocanelas closed 10 years ago
I know. you use yii2-app-basic, dont you? this extension not contain migration for user table. if you need this table, download migration from this and you should create active record from this table.
PS: suggestion for you, install app-advance instead of app-basic :D
you should read this first: http://stuff.cebe.cc/yii2docs/guide-security-authorization.html#role-based-access-control-rbac and look at this: http://stuff.cebe.cc/yii2docs/yii-rbac-dbmanager.html this is the migration you need: yii migrate --migrationPath=@yii/rbac/migrations/
@hashie5 Thanks.
I am getting the following error: Call to undefined method mdm\admin\models\AuthItem::getDb()
in /var/www/html/basic/vendor/yiisoft/yii2/validators/UniqueValidator.php
Hi..
I am not able to create the tables.
php yii migrate/up --migrationPath=@vendor/mdmsoft/yii2-admin/migration Only migrate 'create_menu_table'
..And..