[ORM filter] For pai template selection, enhance filter to marketplace item
SwordFaith opened this issue · comments
Introduction
Currently, pai add support for template selection from marketplace, but for personal template only.
It will be better to support suggestion with strategy, like latest used, user input string likelihood, prerequisite suggestion etc.
Issues / Motivations
It will be better to support suggestion with strategy, like latest used, user input string likelihood, prerequisite suggestion etc.
Proposals / Solutions
Add init or migration logic in model_init_handler
Work Plan
- Check if marketplace item table exists and match model
- If not match, do table schema migration
Demo
Test cases
- New code should have no effect to new deploy marketplace process
- If schema not match current version, should do schema migration