更新创建table命令
This commit is contained in:
parent
8c307cd4fb
commit
b55ca29fb2
@ -36,7 +36,7 @@ class CreateTableCommand extends Command
|
|||||||
|
|
||||||
FileSystem::put(
|
FileSystem::put(
|
||||||
CatchAdmin::moduleDirectory($module) . 'tables' . DIRECTORY_SEPARATOR . (ucwords($table) . '.php'),
|
CatchAdmin::moduleDirectory($module) . 'tables' . DIRECTORY_SEPARATOR . (ucwords($table) . '.php'),
|
||||||
$this->tableTemp($module, ucwords($table), $form)
|
$this->tableTemp($module, lcfirst($table), $form)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (! $form) {
|
if (! $form) {
|
||||||
@ -44,7 +44,7 @@ class CreateTableCommand extends Command
|
|||||||
CatchAdmin::moduleDirectory($module) .
|
CatchAdmin::moduleDirectory($module) .
|
||||||
'tables' . DIRECTORY_SEPARATOR . 'forms' . DIRECTORY_SEPARATOR
|
'tables' . DIRECTORY_SEPARATOR . 'forms' . DIRECTORY_SEPARATOR
|
||||||
. (ucwords($table) . '.php'),
|
. (ucwords($table) . '.php'),
|
||||||
$this->formTemp($module, ucwords($table))
|
$this->formTemp($module, lcfirst($table))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user