Skip to content

Commit c032f90

Browse files
committed
Add permalink column
1 parent 923db1d commit c032f90

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

packages/category/database/migrations/create_category_translations_table.php.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ return new class extends Migration
1717
$table->string('locale')->index();
1818
$table->string('title');
1919
$table->string('slug');
20+
$table->string('permalink', 512)->unique();
2021
$table->text('content')->nullable();
2122

2223
$table->nullableMorphs('created_by');

packages/draft/database/migrations/create_draft_translations_table.php.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ return new class extends Migration
1717
$table->string('locale')->index();
1818
$table->string('title');
1919
$table->string('slug');
20+
$table->string('permalink', 512)->unique();
2021
$table->text('description')->nullable();
2122
$table->text('content')->nullable();
2223

packages/slug/resources/lang/de/fields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
return [
4-
'permalink_label' => 'Permalink:',
4+
'permalink_label' => 'Permalink',
55
'permalink_label_link_visit' => 'Besuche',
66
'permalink_action_edit' => 'Bearbeiten',
77
'permalink_action_ok' => 'OK',

packages/tag/database/migrations/create_tag_translations.php.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ return new class extends Migration
1717
$table->string('locale')->index();
1818
$table->string('title');
1919
$table->string('slug');
20+
$table->string('permalink', 512)->unique();
2021
$table->text('content')->nullable();
2122

2223
// Ensure slug is unique per locale

0 commit comments

Comments
 (0)