From 6774ec10fa78527be6b7548ca1dc34ad0ada090c Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Thu, 29 Oct 2020 17:44:14 +0000
Subject: [PATCH] fix(episodes-table): set descriptions to be not null

---
 app/Database/Migrations/2020-06-05-170000_add_episodes.php      | 2 --
 .../2020-06-08-170000_add_analytics_website_by_browser.php      | 1 -
 2 files changed, 3 deletions(-)

diff --git a/app/Database/Migrations/2020-06-05-170000_add_episodes.php b/app/Database/Migrations/2020-06-05-170000_add_episodes.php
index a4a2011a6a..8449dbc70f 100644
--- a/app/Database/Migrations/2020-06-05-170000_add_episodes.php
+++ b/app/Database/Migrations/2020-06-05-170000_add_episodes.php
@@ -64,11 +64,9 @@ class AddEpisodes extends Migration
             ],
             'description_markdown' => [
                 'type' => 'TEXT',
-                'null' => true,
             ],
             'description_html' => [
                 'type' => 'TEXT',
-                'null' => true,
             ],
             'image_uri' => [
                 'type' => 'VARCHAR',
diff --git a/app/Database/Migrations/2020-06-08-170000_add_analytics_website_by_browser.php b/app/Database/Migrations/2020-06-08-170000_add_analytics_website_by_browser.php
index bb445b5d13..cc2e7467c0 100644
--- a/app/Database/Migrations/2020-06-08-170000_add_analytics_website_by_browser.php
+++ b/app/Database/Migrations/2020-06-08-170000_add_analytics_website_by_browser.php
@@ -28,7 +28,6 @@ class AddAnalyticsWebsiteByBrowser extends Migration
                 'type' => 'VARCHAR',
                 'constraint' => 191,
             ],
-
             'hits' => [
                 'type' => 'INT',
                 'unsigned' => true,
-- 
GitLab