Skip to content

What is the criteria for tables inside 000, 001, 002...011 in sqlmigration? #7176

Answered by grandwizard28
ohyoona asked this question in Q&A

You must be logged in to vote

Hi @ohyoona,
As part of our efforts to streamline, re-architect, re-design, revamp our codebase architecture, we have decided to put all our sql migrations at one place.

Migrations till number 9 have been picked verbatim from various older and disorganized parts of the codebase. For instance, add_dashboards migrations was taken from the now removed dashboards.InitDB function which was unfortunately adding other tables as well. Since we picked it from the dashboards module, we decided to name it add_dashboards.

While we agree the current migration names do not accurately reflect what is happening in the migration, our plan is to now add sensible and understandable migrations on top of it.

Replies: 1 comment

You must be logged in to vote
0 replies
Answer selected by grandwizard28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants