From 64417356456dbab5bf90245ceae552009e042103 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Fri, 29 Apr 2022 16:29:16 +0300 Subject: [PATCH 1/2] Update channels.js --- scripts/db/schemes/channels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/db/schemes/channels.js b/scripts/db/schemes/channels.js index 24fd158f..8866e33a 100644 --- a/scripts/db/schemes/channels.js +++ b/scripts/db/schemes/channels.js @@ -55,5 +55,5 @@ module.exports = { return helper.message(`"logo" has an invalid file extension "${ext}"`) } }) - .allow(null) + .required() } From 25ad9d19da973fa6c682977370fe8ccdb3be2db2 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Fri, 29 Apr 2022 16:29:32 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0d9f4e4..22663f81 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ All data is stored in the [/data](data) folder as [CSV](https://en.wikipedia.org | closed | Date on which the channel closed (`YYYY-MM-DD`) | Optional | `2020-05-31` | | replaced_by | The ID of the channel that this channel was replaced by. | Optional | `CCTV1.cn` | | website | Official website URL. | Optional | `http://www.ahtv.cn/` | -| logo | Logo URL. Only URL with HTTPS protocol are allowed. Supported image types: `PNG`, `JPEG`. | Optional | `https://example.com/logo.png` | +| logo | Logo URL. Only URL with HTTPS protocol are allowed. Supported image types: `PNG`, `JPEG`. | Required | `https://example.com/logo.png` | ### categories