Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate command check file && classname is exist #2

Merged
merged 3 commits into from
May 21, 2015
Merged

generate command check file && classname is exist #2

merged 3 commits into from
May 21, 2015

Conversation

ftwbzhao
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 70c066e on ftwbzhao:develop into * on kenjis:master*.

@@ -44,8 +44,36 @@ public function __invoke($type, $classname)
}

$migration_path = $this->config->item('migration_path');

$classname = ucfirst(strtolower($classname));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be not CodeIgniter style, but I would like to accept class name like CreateUserTable, and file name as it is.

YYYYMMDDHHSS_CreateUserTable.php

If it is converted to YYYYMMDDHHSS_Createusertable.php, it is hard to read.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 6b4c1e6 on ftwbzhao:develop into * on kenjis:master*.

@kenjis kenjis merged commit 6b4c1e6 into kenjis:master May 21, 2015
@kenjis
Copy link
Owner

kenjis commented May 21, 2015

I changed your PR a bit: b7afa72

Thank you.

@ftwbzhao ftwbzhao deleted the develop branch May 21, 2015 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants