For client 's needs, I have to create new custom table in Metabase application database.
Currently, we use MySQL.
Of course, I can create this table manually in MySQL.
But I want to know rightful ways to create new table/model in backend.
Could you tell me ...
Where should I define table schema ?
Are there any way to make MB to migrate my custom table (only structure, don't think about data) into application database automatically ? (In case that I install my customized MB onto new hosting server)
Looking forward to your kind consideration.
Best regards.
@danchen327 Sounds like you just want to add a column to collection table, and then change the calls, so they make use of the ordering. Have a look at report_card.collection_position (or report_dashboard.collection_position) which handles positioning of pinned items in a collection.