yangruiyou85 / yiidoc

Automatically exported from code.google.com/p/yiidoc
0 stars 0 forks source link

Database table name should be `tbl_user` not `User` #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?

As summary says, in the text of 'blog/source/prototype.auth.txt', we see 
following description;

> we use the `User` class to look for a row in the `User` table

Though we have changed the table name using prefix 'tbl_' as `tbl_user` in the 
previous section as follows;

>* `models/User.php` contains the `User` class that extends from 
[CActiveRecord] and can be used to access the `tbl_user` database table;

Thus the line should read

< we use the `User` class to look for a row in the `tbl_user` table

Original issue reported on code.google.com by mocapapa...@gtempaccount.com on 19 Aug 2010 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by mdomba@gmail.com on 24 Aug 2010 at 9:12