-
Notifications
You must be signed in to change notification settings - Fork 584
Open
Description
migration 2019_09_22_142514_create_fks fails, unable to create foreign keys for table "users", custome fields missing.
Schema::table('users', function (Blueprint $table) {
$table->foreign('state_id')->references('id')->on('states')->onDelete('set null');
$table->foreign('lga_id')->references('id')->on('lgas')->onDelete('set null');
$table->foreign('bg_id')->references('id')->on('blood_groups')->onDelete('set null');
$table->foreign('nal_id')->references('id')->on('nationalities')->onDelete('set null');
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels