Conflicts:
	skolehjem/app/Http/Controllers/ContactController.php
This commit is contained in:
Vedde
2020-06-29 14:48:53 +02:00
20 changed files with 147 additions and 61 deletions
@@ -16,6 +16,7 @@ class CreateFeedbacks extends Migration
Schema::create('feedbacks', function (Blueprint $table) {
$table->id();
$table->string("message");
$table->string("suggestion_form"); //Skriver om det er Ris el. Ros
$table->timestamps();
});
}
@@ -0,0 +1,38 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStaffTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('staff', function (Blueprint $table) {
$table->id();
$table->string('name_first');
$table->string('name_last');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->integer("phone")->unique();
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('staff');
}
}