v0.0.8 Ajax now works with backend

This commit is contained in:
Victor
2021-06-04 12:34:47 +02:00
parent c7fa37a3ae
commit 4ce94621a7
5 changed files with 22 additions and 33 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ use Illuminate\Database\Capsule\Manager as Capsule;
Capsule::schema()->create('posts', function ($table) {//Note til mig selv, husk at din database table skal ende med "s" hvis du faa en lang fejl besked
$table->increments('id');
$table->string('title');
$table->longtext('description');
$table->string('title')->nullable(false);
$table->longtext('description')->nullable(false);
$table->timestamps();
});
});