From 7bb0a8aee43a6f5c94b4680a1ac92e6069a6dbfa Mon Sep 17 00:00:00 2001 From: aprillio Date: Tue, 6 Jul 2021 15:43:56 +0700 Subject: [PATCH] add column title and order --- database/migrations/2021_03_18_082008_create_links_table.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/migrations/2021_03_18_082008_create_links_table.php b/database/migrations/2021_03_18_082008_create_links_table.php index cb5a065..e50d7fc 100755 --- a/database/migrations/2021_03_18_082008_create_links_table.php +++ b/database/migrations/2021_03_18_082008_create_links_table.php @@ -16,6 +16,8 @@ class CreateLinksTable extends Migration Schema::create('links', function (Blueprint $table) { $table->id(); $table->text('link'); + $table->string('title'); + $table->integer('order')->default(0); $table->integer('click_number')->default(0); $table->enum('up_link', ['yes', 'no'])->default('no'); $table->unsignedbigInteger('user_id');