surapuramakhil commented on issue #862: URL: https://github.com/apache/incubator-answer/issues/862#issuecomment-2014820378
@LinkinStars Not exactly true. I have updated Suggestion solution in feature card. > Firstly, you want the plugin to have the ability to manipulate database table structures, such as modifying existing table structures, right? Right words or answer for this, plugin should have support creating its own tables, extending existing tables (joins are expensive), Adding Indexes (for performance optimization wrt plugin use cases). I support you wrt modifying existing tables (there is a difference between extending tables (adding new column) and modification (rename and dropping column). When it comes to data Access - (Migration tool ideally should take care of assigning ownership, like who created that able), ownership of columns (who added column) Rights for owners module would be different to others. Modules which has ownership - has full control and other modules will only by having read-only access. Examples of modules - incubator-answer, google-connector, basic-connector, Slack Notification ..... etc Building everything in one go would be tough, complicated and uncertainly do exits. For now, plugins having their migration sequence https://github.com/apache/incubator-answer/blob/main/internal/migrations/migrations.go and DB access would be a starting point. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
