Browse Source

fix(core): Specify Collection.description as text type

Closes #165
Michael Bromley 6 years ago
parent
commit
351e811714

+ 1 - 1
packages/core/src/entity/collection/collection-translation.entity.ts

@@ -19,7 +19,7 @@ export class CollectionTranslation extends VendureEntity implements Translation<
 
     @Column() name: string;
 
-    @Column() description: string;
+    @Column('text') description: string;
 
     @ManyToOne(type => Collection, base => base.translations, { onDelete: 'CASCADE' })
     base: Collection;