| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- use Illuminate\Database\Migrations\Migration;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Support\Facades\Schema;
- class CreateSeeLogsTable extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('see_logs', function (Blueprint $table) {
- $table->id();
- $table->string('message');
- $table->string('title', 50);
- $table->string("link")->nullable();
- $table->tinyInteger("mark")->default(0);
- $table->enum('delivered', [0, 1])->default(0);
- $table->timestamps();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::dropIfExists('see_logs');
- }
- }
|