| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- use Illuminate\Support\Facades\Schema;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
- class CreateSettingTable extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('setting', function (Blueprint $table) {
- $table->increments('id');
- $table->longText('json')->nullable()->comment('setting');
- $table->integer('updated_at');
- $table->integer('created_at');
- $table->integer('deleted_at')->nullable();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::dropIfExists('setting');
- }
- }
|