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 LcardActionLogs extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('lcard_action_logs', function (Blueprint $table) {
|
|
$table->increments('lactivity_id');
|
|
$table->integer('id');
|
|
$table->string('module', 64);
|
|
$table->string('action', 64);
|
|
$table->text('remarks')->nullable();
|
|
$table->timestamp('created_at');
|
|
$table->integer('created_by')->nullable();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('lcard_action_logs');
|
|
}
|
|
}
|