diff --git a/app/Database/Migrations/2020-05-29-152000_add_categories.php b/app/Database/Migrations/2020-05-29-152000_add_categories.php index 86f062ce47f311d0e9fb5c4f6bf18d0a914e84f3..c9e5604a93092d086d8bad6d0cdb759181bfcdbf 100644 --- a/app/Database/Migrations/2020-05-29-152000_add_categories.php +++ b/app/Database/Migrations/2020-05-29-152000_add_categories.php @@ -30,6 +30,7 @@ class AddCategories extends Migration 'code' => [ 'type' => 'VARCHAR', 'constraint' => 1024, + 'unique' => true, ], 'apple_category' => [ 'type' => 'VARCHAR', diff --git a/app/Database/Migrations/2020-05-30-101500_add_podcasts.php b/app/Database/Migrations/2020-05-30-101500_add_podcasts.php index fae5b0f9b393eedd9a82c72084590158c97043f3..6598d0697b371a510b3fe6f006e6be3e22293132 100644 --- a/app/Database/Migrations/2020-05-30-101500_add_podcasts.php +++ b/app/Database/Migrations/2020-05-30-101500_add_podcasts.php @@ -38,7 +38,6 @@ class AddPodcasts extends Migration ], 'description' => [ 'type' => 'TEXT', - 'null' => true, 'comment' => 'The show description. Where description is text containing one or more sentences describing your podcast to potential listeners. The maximum amount of text allowed for this tag is 4000 characters. To include links in your description or rich HTML, adhere to the following technical guidelines: enclose all portions of your XML that contain embedded HTML in a CDATA section to prevent formatting issues, and to ensure proper link functionality.', ], @@ -126,7 +125,7 @@ class AddPodcasts extends Migration 'custom_html_head' => [ 'type' => 'TEXT', 'comment' => - 'The HTML code that will be added to evey page for this podcast. (You could add Google Analytics tracking code here for instance.)', + 'The HTML code that will be added to every page for this podcast. (You could add Google Analytics tracking code here for instance.)', 'null' => true, ], 'created_at' => [