Skip to content

Commit a6ab17a

Browse files
authored
Merge pull request #43 from strapi/update-seed-and-schema
[ PR TO FIX ISSUE # 41 ] Update the seed file to conform with Postgres validation and updated article schema file.
2 parents fdd9499 + 4b47d0d commit a6ab17a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
2.56 KB
Binary file not shown.

strapi/src/api/article/content-types/article/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"localized": true
4141
}
4242
},
43-
"type": "string"
43+
"type": "text"
4444
},
4545
"slug": {
4646
"pluginOptions": {

strapi/types/generated/contentTypes.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export interface ApiArticleArticle extends Struct.CollectionTypeSchema {
399399
createdAt: Schema.Attribute.DateTime;
400400
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
401401
Schema.Attribute.Private;
402-
description: Schema.Attribute.String &
402+
description: Schema.Attribute.Text &
403403
Schema.Attribute.SetPluginOptions<{
404404
i18n: {
405405
localized: true;

0 commit comments

Comments
 (0)