Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to the documentation how to handle ApiDoc/schema changes #589

Open
1 task done
Mec-iS opened this issue Jun 15, 2021 · 6 comments
Open
1 task done

Add to the documentation how to handle ApiDoc/schema changes #589

Mec-iS opened this issue Jun 15, 2021 · 6 comments

Comments

@Mec-iS
Copy link
Contributor

Mec-iS commented Jun 15, 2021

I'm submitting a

  • feature request.

Current Behaviour:

We have alembic installed but there is no mention in the documentation about how to create the first migration nor an automatic mechanism todo migration when the ApiDoc changes.

Expected Behaviour:

When the hydrus instance is run for the first time, a migration file should be created with the initial database schema. Every time a change happens on the ApiDoc that affects the database, the "migrate" command should be run to write a new migration version.

@Krish-bhardwaj
Copy link

I'm submitting a

  • feature request.

Current Behaviour:

We have alembic installed but there is no mention in the documentation about how to create the first migration nor an automatic mechanism todo migration when the ApiDoc changes.

Expected Behaviour:

When the hydrus instance is run for the first time, a migration file should be created with the initial database schema. Every time a change happens on the ApiDoc that affects the database, the "migrate" command should be run to write a new migration version.

Hi can you specify clearly what we have to do i'll add this to my current PR

@HTTP-APIs HTTP-APIs deleted a comment from Akash-Kumar-Sen Feb 4, 2022
@Mec-iS
Copy link
Contributor Author

Mec-iS commented Feb 4, 2022

it is not advisable to provide different feature in the same PR, please open another one.

Are you familiar with alembic and database schemas?

@Wansh619
Copy link

Wansh619 commented Feb 9, 2022

Hi i am new to this open source stuff can i get assign for this issue ?
Can you please tell me what I have to learn for solving this issue?

@Mec-iS
Copy link
Contributor Author

Mec-iS commented Feb 9, 2022

@Wansh619
Copy link

Wansh619 commented Feb 9, 2022

Thank and if i need more resources i will tell you.

@arneja-arnav
Copy link

Hey. has this issue been resolved?
Would love to work on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants