finish basic crud api

This commit is contained in:
Romain committed 2020-08-09 18:48:13 +02:00
1 parent 644dbd9ea2
commit fa6d769daa
9 files changed
+229 -27

No files matched your search

@@ -19,6 +19,7 @@ class CreateEventsTable extends Migration
$table->unsignedBigInteger('category_id');
$table->string('name');
$table->text('description')->nullable();
$table->boolean('private')->default(true);
$table->timestamp('start_date');
$table->timestamp('end_date')->nullable();
$table->string('location')->nullable();