mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-24 16:50:48 +01:00
add column title and order
This commit is contained in:
parent
81003986f5
commit
7bb0a8aee4
@ -16,6 +16,8 @@ class CreateLinksTable extends Migration
|
|||||||
Schema::create('links', function (Blueprint $table) {
|
Schema::create('links', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->text('link');
|
$table->text('link');
|
||||||
|
$table->string('title');
|
||||||
|
$table->integer('order')->default(0);
|
||||||
$table->integer('click_number')->default(0);
|
$table->integer('click_number')->default(0);
|
||||||
$table->enum('up_link', ['yes', 'no'])->default('no');
|
$table->enum('up_link', ['yes', 'no'])->default('no');
|
||||||
$table->unsignedbigInteger('user_id');
|
$table->unsignedbigInteger('user_id');
|
||||||
|
Loading…
Reference in New Issue
Block a user