Console

Create new user

./yii user/create <login> <password> [isAdmin = 0]

Assign RBAC role to user

./yii user/assignRole <role> <userId>

Add random content

./yii fixture/add [count = 10]

Migrations

./yii migrate/create
./yii migrate/generate
./yii migrate/up
./yii migrate/down
./yii migrate/list

DB Schema

./yii cycle/schema
./yii cycle/schema/php
./yii cycle/schema/clear
./yii cycle/schema/rebuild