v1.0.3.4
This commit is contained in:
@@ -19,6 +19,7 @@ class CreateEmailTable extends Migration {
|
||||
$table->string('admin_email');
|
||||
$table->string('mta');
|
||||
$table->boolean('email_fetching');
|
||||
$table->boolean('notification_cron');
|
||||
$table->boolean('strip');
|
||||
$table->boolean('separator');
|
||||
$table->boolean('all_emails');
|
||||
|
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateNotificationLogTable extends Migration {
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('log_notification', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('log');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('log_notification');
|
||||
}
|
||||
|
||||
}
|
@@ -34,6 +34,7 @@ use App\Model\helpdesk\Theme\Footer4;
|
||||
use App\Model\helpdesk\Email\Smtp;
|
||||
use App\Model\helpdesk\Utility\Version_Check;
|
||||
use App\Model\kb\Options;
|
||||
use App\Model\helpdesk\Utility\Log_notification;
|
||||
|
||||
// Knowledge base
|
||||
|
||||
@@ -278,6 +279,8 @@ class DatabaseSeeder extends Seeder {
|
||||
Priority::create(array('name' => 'low'));
|
||||
Priority::create(array('name' => 'high'));
|
||||
|
||||
Log_notification::create(['log'=>'NOT-1']);
|
||||
|
||||
Access::create(array('id' => '1'));
|
||||
Alert::create(array('id' => '1'));
|
||||
Company::create(array('id' => '1'));
|
||||
@@ -335,5 +338,7 @@ class DatabaseSeeder extends Seeder {
|
||||
Side2::create(['id'=>'1']);
|
||||
Settings::create(['id'=>'id','paagination' => '10']);
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user