hydrus icon indicating copy to clipboard operation
hydrus copied to clipboard

Add to the documentation how to handle ApiDoc/schema changes

Open Mec-iS opened this issue 4 years ago • 6 comments

I'm submitting a

  • [X] 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.

Mec-iS avatar Jun 15 '21 18:06 Mec-iS

I'm submitting a

  • [x] 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

Krish-bhardwaj avatar Feb 04 '22 04:02 Krish-bhardwaj

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

Are you familiar with alembic and database schemas?

Mec-iS avatar Feb 04 '22 09:02 Mec-iS

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?

Wansh619 avatar Feb 09 '22 17:02 Wansh619

@Wansh619 https://www.hydraecosystem.org/Starting-Material

Mec-iS avatar Feb 09 '22 17:02 Mec-iS

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

Wansh619 avatar Feb 09 '22 17:02 Wansh619

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

arneja-arnav avatar Feb 24 '22 04:02 arneja-arnav