Merge remote-tracking branch 'origin/main' into main
# Conflicts: # Backend/Main.php
This commit is contained in:
commit
d27996542f
|
@ -0,0 +1 @@
|
||||||
|
<?php
|
|
@ -6,5 +6,3 @@ require "../bootstrap.php";
|
||||||
$gameJam = GameJam::firstOrCreate([
|
$gameJam = GameJam::firstOrCreate([
|
||||||
'name' => "First game jam ever!", 'startTime' => "2021-03-03T12:40", 'endTime' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
|
'name' => "First game jam ever!", 'startTime' => "2021-03-03T12:40", 'endTime' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Backend\Models;
|
namespace Backend\Models;
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model as Eloquent;
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
||||||
class GameJam extends Eloquent{
|
class GameJam extends Eloquent{
|
||||||
|
|
||||||
protected $fillable =[
|
protected $fillable =[
|
||||||
'name', 'startTime', 'endTime', 'keyWord', 'description'
|
'name',
|
||||||
|
'startTime',
|
||||||
|
'endTime',
|
||||||
|
'keyWord',
|
||||||
|
'description'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<?php
|
Loading…
Reference in New Issue