Add base logic for audit logging

This commit is contained in:
Dane Everitt 2021-01-17 10:49:36 -08:00
parent 9684456480
commit b15679d3bb
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 177 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAuditLogsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('audit_logs', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('audit_logs');
}
}