feat: rework logging

This commit is contained in:
llama committed 2023-10-11 22:28:14 +11:00
1 parent 87bdbeee05
commit 2d5991988d
15 files changed
+204 -95

No files matched your search

@@ -14,9 +14,11 @@ return new class extends Migration
Schema::create('logs', function (Blueprint $table) {
$table->id();
$table->foreignIdFor(User::class)->nullable();
$table->foreignIdFor(Quote::class)->nullable();
$table->foreignIdFor(RequestedQuote::class)->nullable();
$table->string('content');
$table->string('loggable_type');
$table->integer('loggable_id');
$table->string('action');
$table->text('content');
$table->string('ip');
$table->timestamps();
});
}
+1 -1
View File
@@ -12,7 +12,7 @@ class DatabaseSeeder extends Seeder
*/
public function run(): void
{
$this->call(BaseQuotesSeeder::class);
$this->call(PriceyBotSeeder::class);
$this->call(BaseQuotesSeeder::class);
}
}