37 lines
853 B
PHP
37 lines
853 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class AdminActionLogs extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('admin_action_logs', function (Blueprint $table) {
|
|
$table->increments('actionlog_id');
|
|
$table->integer('id');
|
|
$table->string('module', 64);
|
|
$table->string('action', 64);
|
|
$table->text('remarks')->nullable();
|
|
$table->timestamp('created_dt');
|
|
$table->integer('created_by')->default(0);
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('admin_action_logs');
|
|
}
|
|
}
|