|
...
|
...
|
@@ -102,7 +102,7 @@ class Demo extends Command |
|
|
|
|
|
|
|
public function copyProduct(){
|
|
|
|
$tableName = 'gl_product';
|
|
|
|
$copyTableName = $tableName . '_c';
|
|
|
|
$copyTableName = 'gl_product_c';
|
|
|
|
if (Schema::hasTable($copyTableName)) {
|
|
|
|
DB::statement("DROP TABLE {$copyTableName}");
|
|
|
|
}
|
...
|
...
|
|