finish basic crud api

This commit is contained in:
2020-08-09 18:48:13 +02:00
parent 644dbd9ea2
commit fa6d769daa
9 changed files with 229 additions and 27 deletions

View File

@@ -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();