sequelize / sequelize/sequelize
Schema file to show state of migrations
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 30.4k
- Forks
- 4.3k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 68
Description
It would be nice to have an analog to Rails's db/schema.rb - a single file that describes the database schema, that is updated whenever a migration is run. Then, I wouldn't have to define the database schema for my model in two different places (the migration file and the sequelize.define() call in my app).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by tracing how migrations are executed and how sequelize.define() currently describes models. Compare the desired single schema file with Rails's db/schema.rb; done means migrations update that file so the model schema no longer has to be maintained in two places.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100