2020_12_14_103401_create_customerlogstatuses_table.php 535 B

1234567891011121314151617181920212223
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. use Illuminate\Support\Facades\Schema;
  5. class CreateCustomerLogStatusesTable extends Migration
  6. {
  7. public function up()
  8. {
  9. Schema::create('customer_log_statuses', function(Blueprint $table) {
  10. $table->increments('id');
  11. $table->string('name')->index();
  12. $table->text('description');
  13. $table->timestamps();
  14. });
  15. }
  16. public function down()
  17. {
  18. Schema::drop('customer_log_statuses');
  19. }
  20. }