Archived
feat: basic quotes request
This commit is contained in:
1 parent
4fdff98580
commit
a918600813
12 files changed
+165
-24
No files matched your search
@@ -11,8 +11,7 @@ return new class extends Migration
|
||||
Schema::create('quotes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('quote');
|
||||
$table->integer('times_used')->default(0);
|
||||
$table->timestamp('last_used')->nullable();
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('requested_quotes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('quote');
|
||||
$table->foreignIdFor(User::class)->nullable();
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('requested_quotes');
|
||||
}
|
||||
};
|
||||
@@ -254,7 +254,7 @@ class BaseQuotesSeeder extends Seeder
|
||||
"It's like a breakfast buffet for a paedophile ",
|
||||
"Aadyn Goodlet's Handjob Simulatior",
|
||||
'You threat me with rape all the fucking time',
|
||||
'I DIDN\"T TRY TO FUCK THE 5 YEAR OLD',
|
||||
'I DIDN"T TRY TO FUCK THE 5 YEAR OLD',
|
||||
'I am funny racist',
|
||||
'Most vegans should go the same way a ginger-haired new babies..... DROWNED, straight to hell, do not pass purgatory, do not collect your last rites',
|
||||
'Those priest spreads those little boy baby ass cheeks quicker than they can say Amen!!!!!',
|
||||
|
||||
Reference in new issue
Block a user