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

Codegen SQLite #386

Merged
merged 4 commits into from
Dec 25, 2021
Merged

Codegen SQLite #386

merged 4 commits into from
Dec 25, 2021

Conversation

billy1624
Copy link
Member

@billy1624
Copy link
Member Author

billy1624 commented Dec 17, 2021

You can run the codegen on any SQLite db by executing

// Inside `sea-orm/sea-orm-cli` directory
cargo run -- generate entity --database-url sqlite:///absolute/path/to/sakila.db --output-dir ../issues/386/src/compact

@billy1624 billy1624 marked this pull request as ready for review December 17, 2021 10:22
@tyt2y3
Copy link
Member

tyt2y3 commented Dec 19, 2021

What are the files under issues/386 for?

@billy1624
Copy link
Member Author

billy1624 commented Dec 19, 2021

What are the files under issues/386 for?

Just for demo :)

billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Dec 22, 2021
Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove the 386 folder

@tyt2y3 tyt2y3 merged commit 9036d27 into master Dec 25, 2021
@tyt2y3 tyt2y3 deleted the codegen-sqlite branch December 25, 2021 03:31
tyt2y3 pushed a commit to SeaQL/seaql.github.io that referenced this pull request Dec 31, 2021
docs: rework `ActiveValue` (SeaQL/sea-orm#340)

docs: schema_name will always be applied (SeaQL/sea-orm#370)

docs: `ActiveModelBehavior::after_save` takes `Model` (SeaQL/sea-orm#339)

docs: `Schema::create_enum_from_active_enum` (SeaQL/sea-orm#348)

docs: `ModelTrait::delete` (SeaQL/sea-orm#396)

docs: codegen SQLite (SeaQL/sea-orm#386)

docs: unsigned integers (SeaQL/sea-orm#397)

docs: debug log (SeaQL/sea-orm#373)

blog: draft "What's new in SeaORM 0.5.0"

docs: revert `save` to return Self (SeaQL/sea-orm@d5c9c65)

Revert "docs: unsigned integers (SeaQL/sea-orm#397)"

This reverts commit ac6d49e.

docs: exclude SeaQL/sea-orm#397 in 0.5.0 blog post

docs: update landing page examples

docs: edit

docs: edit

docs: fix 0.4.x docs link

build: bump docusaurus version to 2.0.0-beta.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants