PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Ticket
/
Database
/
Migrations
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateThreadRepliesTable extends Migration { /** * Run the migrations. * @return void */ public function up() { Schema::create('thread_replies', function (Blueprint $table) { $table->increments('id'); $table->integer('thread_id')->unsigned(); $table->integer('sender_id')->unsigned()->nullable()->index(); $table->integer('receiver_id')->unsigned()->nullable()->index(); $table->dateTime('date')->nullable()->index(); $table->text('message')->nullable(); $table->boolean('has_attachment')->default(0)->index(); $table->boolean('is_read')->default(0)->index(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('thread_replies'); } }
[-] 2020_04_06_093559_create_thread_replies_table.php
[edit]
[-] 2020_04_06_093559_create_priorities_table.php
[edit]
[+]
..
[-] 2020_04_06_093559_create_thread_statuses_table.php
[edit]
[-] 2021_06_17_131601_create_canned_messages_table.php
[edit]
[-] 2023_04_06_093559_create_threads_table.php
[edit]
[-] 2021_06_17_145137_create_canned_links_table.php
[edit]
[-] 2020_04_06_093559_create_departments_table.php
[edit]