modified blacklist redirect after adding
This commit is contained in:
@@ -73,7 +73,7 @@ class BlacklistController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Return the view
|
//Return the view
|
||||||
return redirect('/blacklist/display')->with('success', 'Character added to the blacklist');
|
return view('blacklist.add')->with('success', 'Character added to the blacklist');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function RemoveFromBlacklist(Request $request) {
|
public function RemoveFromBlacklist(Request $request) {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class NewLookupTables extends Migration
|
|||||||
if(!Schema::hasTable('character_lookup')) {
|
if(!Schema::hasTable('character_lookup')) {
|
||||||
Schema::create('character_lookup', function (Blueprint $table) {
|
Schema::create('character_lookup', function (Blueprint $table) {
|
||||||
$table->unsignedInteger('character_id');
|
$table->unsignedInteger('character_id');
|
||||||
$table->unsignedInteger('alliance_id');
|
$table->unsignedInteger('alliance_id')->nullable();
|
||||||
$table->unsignedInteger('ancestry_id')->nullable();
|
$table->unsignedInteger('ancestry_id')->nullable();
|
||||||
$table->string('birthday');
|
$table->string('birthday');
|
||||||
$table->unsignedInteger('bloodline_id');
|
$table->unsignedInteger('bloodline_id');
|
||||||
@@ -47,7 +47,10 @@ class NewLookupTables extends Migration
|
|||||||
$table->decimal('tax_rate', 20, 2);
|
$table->decimal('tax_rate', 20, 2);
|
||||||
$table->string('ticker');
|
$table->string('ticker');
|
||||||
$table->string('url')->nullable();
|
$table->string('url')->nullable();
|
||||||
$table->boolean('war_eligible');
|
$table->enum('war_eligible', [
|
||||||
|
'Yes',
|
||||||
|
'No',
|
||||||
|
])->default('No');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user