Parcourir la source

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

Closes #165
Michael Bromley il y a 6 ans
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() name: string;
 
 
-    @Column() description: string;
+    @Column('text') description: string;
 
 
     @ManyToOne(type => Collection, base => base.translations, { onDelete: 'CASCADE' })
     @ManyToOne(type => Collection, base => base.translations, { onDelete: 'CASCADE' })
     base: Collection;
     base: Collection;