Conflicts:
	skolehjem/routes/web.php
This commit is contained in:
Vedde
2020-07-01 09:13:43 +02:00
43 changed files with 369 additions and 261 deletions
@@ -15,6 +15,7 @@ class CreateMenuPlans extends Migration
{
Schema::create('menu_plans', function (Blueprint $table) {
$table->id();
$table->string('week', 2);
$table->string('monday', 255);
$table->string('tuesday', 255);
$table->string('wednesday', 255);
@@ -16,6 +16,7 @@ class CreateAlbumsTable extends Migration
Schema::create('albums', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->foreignId('user_id')->constrained();
});
}
+2
View File
@@ -21,11 +21,13 @@ class UserSeeder extends Seeder
Log::debug("YEET");
if(User::where("name_first", "admin"))
{
return;
}
Log::debug("OPRET");
$user = new \App\User();