1
0
mirror of https://github.com/cjango/dcat-vue.git synced 2025-12-06 14:20:03 +08:00

一些优化

This commit is contained in:
weiwait
2023-01-05 13:57:52 +08:00
parent b8aeddda7f
commit b728ca88ed
11 changed files with 224 additions and 178 deletions

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFielsystemConfig extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::dropIfExists('filesystem_configs');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::create('filesystem_configs', function (Blueprint $table) {
$table->id();
$table->string('key', 50)->unique()->comment('配置key');
$table->string('name')->default('')->comment('配置名称');
$table->text('value')->comment('配置值');
$table->timestamps();
});
}
}