| Issue 659: | Generate model for tables with prefix without specifying prefix in shell command | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
What steps will reproduce the problem? 1. configure CDbConnection::tablePrefix eg: 'yii_' 2. create table in db with prefix, eg: yii_test 3. run protected/yiic shell, try to generate a model 'model Test' What is the expected output? Warning: tablename does not exist in database. The output is as expected but i think there should be a way to generate models from prefixed tables without using the prefix in model command for shell like 'model yii_test' since i do not want my model to be named 'yii_test' but instead to be named 'test' or 'Test'. Maybe the shell tool could search for yii_test instead of test when CDbConnection::tablePrefix is set. What version of the product are you using? On what operating system? 1.1b, Windows XP (wampserver) |
||||||||||
,
Nov 01, 2009
(No comment was entered for this change.)
Labels: -Milestone-1.0.11 Milestone-1.1b
|
|||||||||||
,
Nov 01, 2009
This issue was closed by revision r1499.
Status: Fixed
Mergedinto: - |
|||||||||||
|
|
|||||||||||