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

Pr/471 #583

Merged
merged 39 commits into from
Mar 6, 2022
Merged

Pr/471 #583

merged 39 commits into from
Mar 6, 2022

Conversation

tyt2y3
Copy link
Member

@tyt2y3 tyt2y3 commented Mar 6, 2022

PR Info

  • Closes
  • Dependencies:
  • Dependents:

Adds

Fixes

Breaking Changes

Changes

sunli829 and others added 30 commits January 13, 2022 12:24
…than one foreign keys (SeaQL#417)

* fix: name conflict of foreign key constraints when two entities have more than one fk

* test: update test case's foreign keys

* feat: override default name of foreign key constraint
Macros should only ever use absolute import paths.
Shorthands can clash (as they have in my case).
Add documentation for this

Temporarily use a fork to include new Sea-query code

Add tests for DateTimeUtc

Solve Github actions error by add the code to create a table

Assertion accuracy tests

Rectify incorrect format
`ColumnDef` with default value

Cargo fmt

Update docs

Fixup

Support `DateTimeLocal`

Update docs

Codegen write db timestamp column as `DateTimeUtc` type

Update dependency

Merge branch 'sea-query/add-new-column-ref' into pr/429

feat: apply alias on `ColumnRef::SchemaTableColumn`
Support `DateTime<Utc>` & `DateTime<Local>`
* Refactor `ConnectionTrait`

* Refactoring

* Build index & foreign key statements

* Fix imports

* Fixup

* Rocket example with migration

* async-std compatible with the tokio 1.0 runtime

* Use reexported dependency

* Compile without selecting any db backend

* Updating sea-orm-cli dep

* sea-orm-cli migrate commands

* cargo fmt

* Test [cli]

* Refactoring

* Clap app name should be "sea-orm-cli"

* Correctly capture MIGRATION_DIR

* Rename README

* Add `sea-orm-cli migrate init` command

* Update README

* Try restructured sea-query dependency (SeaQL/sea-schema#41)

* Set `DATABASE_URL` environment variable
Fix FromQueryResult when Result is redefined
* feat: codegen `column_name` proc_macro attribute

* test: codegen `column_name`
Remove `r#` prefix when deriving `FromQueryResult`
…SeaQL#432)

* feat: apply alias on `ColumnRef::SchemaTableColumn`

* build: update sea-query dependency

* feat: insert default

* Use sea-query 0.21

Co-authored-by: Billy Chan <[email protected]>
* Easy joins with MockDatabase SeaQL#447

* fix MR

* add unit test

* Add test cases

* Cargo fmt

Co-authored-by: Bastian Schubert <[email protected]>
Co-authored-by: Billy Chan <[email protected]>
Co-authored-by: Chris Tsang <[email protected]>
billy1624 and others added 9 commits February 7, 2022 20:55
Update example sea-schema version

Update [cli] sea-schema version
* Update examples sea-orm version

* Update example sea-schema version

* Update [cli] sea-schema version

* Fix [cli] cargo publish failed

* Update CHANGELOG

* Edit rocket example

* Poem example with migration

* Axum example with migration

* Refactoring

* Actix4 example with migration

* Actix example with migration

* Use sea_schema::migration::prelude
@tyt2y3 tyt2y3 merged commit 566c8c6 into SeaQL:pulls/471 Mar 6, 2022
@tyt2y3 tyt2y3 mentioned this pull request Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants