Closed mariuszkumor closed 7 years ago
hey @mariuszkumor
Do I need to add respative comment changelog xml and comment-data.csv files as in liquebase prperties if Yes wt are the feilds in comment entity
As of Now i have Added com.abixen.platform.core.model.impl.Comment extends AuditingModel class and Respative CommentBase class in common modules. :) and one more thing like Page do i need to create CommentWeb class also
@nagukothapalli
yes, you need add only comment changelog xml , The comment-data.csv is unneeded for now :-) Also in sequences-changelog.xml must add comment sequence. CommentWeb is needed as well.
Do have any specific schema for comment entity ?
No, please make similarly like i. e. Page
Create a domain Comment in the core microservice with all necessary interfaces, similarly as other domains i.e. Page. Extend by AuditingModel.
Add field:
String message (min length 1, max length 5000) Comment parent
Create liquibase schema for it with sequence. Remember about H2 file dropping once changes in liquibase are done https://github.com/abixen/abixen-platform/issues/207