Yii v2 snippet guide

Comparing #14 with #15

Revision #15 was created by rackycz rackycz on Sep 19, 2019, 9:03:22 PM.

db

Content

[...]
INSERT INTO `user` (`id`, `username`, `password`) VALUES (NULL, 'user01', '0497fe4d674fe37194a6fcb08913e596ef6a307f');
```

If you must use MyISAM instead of InnoDB, just change the word InnoDB into MYISAM.

Then use GII to generate model and controller. The URL will probably be [http://localhost/basic/web/index.php?r=gii](http://localhost/basic/web/index.php?r=gii).
 
 
Login via database + Session
---
... text ...

Access rights
---
[...]