2020-06-08 08:56:37 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2020-06-08 12:59:25 +00:00
|
|
|
class CreateFeedbacks extends Migration
|
2020-06-08 08:56:37 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2020-06-08 12:59:25 +00:00
|
|
|
Schema::create('feedbacks', function (Blueprint $table) {
|
2020-06-08 08:56:37 +00:00
|
|
|
$table->id();
|
2020-06-08 12:59:25 +00:00
|
|
|
$table->string("message");
|
2020-06-29 11:30:13 +00:00
|
|
|
$table->string("suggestion_form"); //Skriver om det er Ris el. Ros
|
2020-06-08 08:56:37 +00:00
|
|
|
$table->timestamps();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2020-06-08 12:59:25 +00:00
|
|
|
Schema::dropIfExists('feedbacks');
|
2020-06-08 08:56:37 +00:00
|
|
|
}
|
|
|
|
}
|