{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-gii/issues/170","repository_url":"https://api.github.com/repos/yiisoft/yii2-gii","labels_url":"https://api.github.com/repos/yiisoft/yii2-gii/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-gii/issues/170/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-gii/issues/170/events","html_url":"https://github.com/yiisoft/yii2-gii/issues/170","id":167513062,"number":170,"title":"Improve tableName support","user":{"login":"modomodo","id":5679726,"avatar_url":"https://avatars.githubusercontent.com/u/5679726?v=3","gravatar_id":"","url":"https://api.github.com/users/modomodo","html_url":"https://github.com/modomodo","followers_url":"https://api.github.com/users/modomodo/followers","following_url":"https://api.github.com/users/modomodo/following{/other_user}","gists_url":"https://api.github.com/users/modomodo/gists{/gist_id}","starred_url":"https://api.github.com/users/modomodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modomodo/subscriptions","organizations_url":"https://api.github.com/users/modomodo/orgs","repos_url":"https://api.github.com/users/modomodo/repos","events_url":"https://api.github.com/users/modomodo/events{/privacy}","received_events_url":"https://api.github.com/users/modomodo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T03:22:12Z","updated_at":"2016-07-26T03:27:21Z","closed_at":null,"body":"Hi, \r\nI'm currently working on building a Microsoft Dynamics Nav web portal using Yii2 and the Gii generator\r\n\r\n### What steps will reproduce the problem?\r\nUpon entering table names used in the database backend, for example: \r\n\r\n> Test & Movies$Transcription\r\n\r\nThe Gii Model generator throws a validation error, stating that:\r\n`Only word characters, and optionally spaces, an asterisk and/or a dot are allowed`\r\n\r\n### What's expected?\r\nI would love support for various table naming schemes instead of being limited to the ones defined in the Gii generator: \r\n```php\r\n/^([\\w ]+\\.)?([\\w\\* ]+)$/\r\n```\r\n### What do you get instead?\r\n![image](https://cloud.githubusercontent.com/assets/5679726/17125045/db293588-52f8-11e6-8405-6f9726a53a55.png)\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii vesion       | 2.0.9\r\n| PHP version      | 5.6.22\r\n| Operating system | Windows 10 64 bit\r\n| Database | SQL Server 2014\r\n\r\n**By default, Microsoft Nav table names are prefixed with a '$'**"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-gii/issues/comments/235152878","html_url":"https://github.com/yiisoft/yii2-gii/issues/170#issuecomment-235152878","issue_url":"https://api.github.com/repos/yiisoft/yii2-gii/issues/170","id":235152878,"user":{"login":"modomodo","id":5679726,"avatar_url":"https://avatars.githubusercontent.com/u/5679726?v=3","gravatar_id":"","url":"https://api.github.com/users/modomodo","html_url":"https://github.com/modomodo","followers_url":"https://api.github.com/users/modomodo/followers","following_url":"https://api.github.com/users/modomodo/following{/other_user}","gists_url":"https://api.github.com/users/modomodo/gists{/gist_id}","starred_url":"https://api.github.com/users/modomodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modomodo/subscriptions","organizations_url":"https://api.github.com/users/modomodo/orgs","repos_url":"https://api.github.com/users/modomodo/repos","events_url":"https://api.github.com/users/modomodo/events{/privacy}","received_events_url":"https://api.github.com/users/modomodo/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T03:27:21Z","updated_at":"2016-07-26T03:27:21Z","body":"Out of curiosity, why are tableNames limited in the Gii Model Generator?"}}
{"actor":{"display_login":"modomodo"}}