diff options
| author | grothedev <grothedev@gmail.com> | 2025-02-16 01:31:43 -0600 |
|---|---|---|
| committer | grothedev <grothedev@gmail.com> | 2025-02-16 01:31:43 -0600 |
| commit | 293b52040971b6b48fc80e0b6a19eea2cd50476f (patch) | |
| tree | 48d24202fee6c4b144edcc37815be2f5f637ba02 /database | |
| parent | 192d5db9970cd1109ba21874314acf5d05bfdb14 (diff) | |
stylized forms. working on link database thing
Diffstat (limited to 'database')
| -rw-r--r-- | database/migrations/2024_12_21_021215_links.php | 4 | ||||
| -rw-r--r-- | database/migrations/99999_pivots.php (renamed from database/migrations/2024_12_21_032114_pivots.php) | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/database/migrations/2024_12_21_021215_links.php b/database/migrations/2024_12_21_021215_links.php index 51b2cbe..41f1026 100644 --- a/database/migrations/2024_12_21_021215_links.php +++ b/database/migrations/2024_12_21_021215_links.php @@ -14,6 +14,10 @@ return new class extends Migration Schema::create('links', function (Blueprint $table) { $table->id(); $table->timestamps(); + $table->string('label')->required(); + $table->string('url')->required(); + $table->string('description'); + $table->integer('user_id')->references('id')->on('users')->onDelete('cascade'); }); } diff --git a/database/migrations/2024_12_21_032114_pivots.php b/database/migrations/99999_pivots.php index baa23b3..94f155d 100644 --- a/database/migrations/2024_12_21_032114_pivots.php +++ b/database/migrations/99999_pivots.php @@ -52,6 +52,7 @@ return new class extends Migration Schema::dropIfExists('link_tag'); Schema::dropIfExists('file_tag'); Schema::dropIfExists('quest_tag'); + Schema::dropIfExists('tag_writing'); //Schema::dropIfExists('role_user'); } }; |
