mobiusml / aana_sdk

Aana SDK is a powerful framework for building AI enabled multimodal applications.
https://www.mobiuslabs.com/
Apache License 2.0
12 stars 1 forks source link

CLI Command for Running Migrations #111

Closed movchan74 closed 1 month ago

movchan74 commented 1 month ago

This Pull Request moves migration into a separate CLI command so migrations are running only once per Aana application.

movchan74 commented 1 month ago

Some questions: How the user can add its own tables in the single db instead of having multiple db (In case it uses our repo with pip install). Currently all the build-in tables will be added automatically and it is not desirable (For example the task_queue table is needed but video table is not necessary for all the apps).

We should move the app-specific migrations into the apps themselves. We discussed it already and decided to postpone it until we have time. I'm in favor of doing it as soon as possible.