Made it possible to sign up for events.
Added fail and success messages when signing up. Fixed unique keys in migrate
This commit is contained in:
@@ -15,8 +15,8 @@ class CreateUserEventsTable extends Migration
|
||||
{
|
||||
Schema::create('user_events', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer("user_id")->unique();
|
||||
$table->integer("event_id")->unique();
|
||||
$table->integer("user_id");
|
||||
$table->integer("event_id");
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user