Remove auto update script

This commit is contained in:
Pig Fang 2019-03-14 15:22:36 +08:00
parent 4e52bf41e1
commit fc44b09df1

View File

@ -1,14 +0,0 @@
<?php
$msg = [];
try {
Artisan::call('migrate', ['--force' => true]);
$msg[] = '【数据库】升级成功!';
} catch (Exception $e) {
$msg[] = '【数据库】更新数据表失败,错误信息:'.$e->getMessage();
}
Artisan::call('view:clear');
option(['version' => '4.0.0']);