Login.php

Singning
This commit is contained in:
RundelhausCode 2021-03-04 09:18:32 +01:00
parent 2e6671bf7b
commit 56d53d35de
4 changed files with 17 additions and 1 deletions

1
Backend/Login.php Normal file
View File

@ -0,0 +1 @@
<?php

View File

@ -1,8 +1,16 @@
<?php
use Backend\Models\GameJam;
require "../bootstrap.php";
$gameJam = GameJam::firstOrCreate([
'name' => "First game jam ever!", 'startTime' => "2021-03-03T12:40", 'endTime' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
]);
GameJam::query();
var_dump();

View File

@ -1,9 +1,15 @@
<?php
namespace Backend\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
class GameJam extends Eloquent{
protected $fillable =[
'name', 'startTime', 'endTime', 'keyWord', 'description'
'name',
'startTime',
'endTime',
'keyWord',
'description'
];

1
Backend/SigningUp.php Normal file
View File

@ -0,0 +1 @@
<?php