drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Ability to automatically create tables
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
Many ORMs have the ability to automatically create tables from schema.
For example:
Typeorm has a "synchronize" option - https://typeorm.io/data-source-options#common-data-source-options
SQLAlchemy has a method "create_all" - https://docs.sqlalchemy.org/en/20/core/metadata.html#sqlalchemy.schema.MetaData.create_all
I have found ability to create tables with "drizzle-kit", but that requires to use CLI and migrations. It seems that there is currently no way to do it using just the API, which would be convenient for quick starting of a project or for testing.
Contributor guide
Assessment
This issue has not been assessed yet.