updated controller
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateExternalLink extends Migration
|
||||
class CreateExternalLinks extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
@@ -13,7 +13,7 @@ class CreateExternalLink extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('external_link', function (Blueprint $table) {
|
||||
Schema::create('external_links', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string("name");
|
||||
$table->string("link");
|
||||
@@ -28,6 +28,6 @@ class CreateExternalLink extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('external_link');
|
||||
Schema::dropIfExists('external_links');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user