Billy Chan
42553b6624
1.0.0-rc.1
2024-02-06 14:14:09 +08:00
Billy Chan
94403b5659
migration: schema helper ( #2099 )
...
* Adapted loco-rs/schema.rs
* avoid `&mut ColumnDef` after upgraded to sea-query 0.31.0
* refactoring
* rewrite schema.rs
* revert
* fmt
* fix
* loco_example: pin loco-rs version
* refactor
2024-02-06 14:10:36 +08:00
Billy Chan
cef380b977
SQLite type mappings ( #2077 )
...
* sqlite: deps
* sqlite: update data type mappings
* sqlite: decimal test cases
* sqlite: try negative numbers
* fixup
* fixup
* fmt
* clippy
* fixup
* fixup
* fixup
* refactor
* fix
* Drop the use of `rust_decimal_macros` (#2078 )
* sqlite: decimal -> real
* revert
* Bump dependencies
* Fixup
* Fixup
* Fixup
* Fixup
* Refactor
* Refactor
* Refactor
2024-02-05 14:42:55 +08:00
Chris Tsang
0016eff73b
Update
2024-01-28 01:50:43 +00:00
Chris Tsang
70d4278598
0.12.12
2024-01-22 09:48:29 +00:00
Chris Tsang
f2bda8a4c2
Changelog
2024-01-17 20:55:21 +00:00
Chris Tsang
260b8a4076
0.12.11
2024-01-14 16:10:33 +00:00
Dmitrii Aleksandrov
e3c94a7708
Export main()
of sea-orm-cli
( #1889 ) ( #2034 )
...
* Export main() of sea-orm-cli (#1889 )
* Fix compile error: require "codegen" feature for main()
2024-01-12 22:43:13 +08:00
Chris Tsang
4a59ca681b
0.12.10
2023-12-14 19:42:32 +00:00
Chris Tsang
c9a2528546
Revert "sea-orm-cli migrate init: don't overwrite files by default ( #1829 )"
...
This seems to be a breaking change may be we should apply later
2023-12-08 14:16:26 +00:00
chayleaf
3d6124393a
sea-orm-cli migrate init: don't overwrite files by default ( #1829 )
2023-12-08 21:32:25 +08:00
Chris Tsang
1ce3778c61
0.12.6
2023-11-13 09:03:26 +00:00
Chris Tsang
070a30aab1
0.12.5
2023-11-12 20:14:29 +00:00
Chris Tsang
8ab24cf884
Enum extra attributes ( #1966 )
...
* Feature: Adds sea-orm-cli generate `--enum-extra-attributes` option (#1952 )
* Adds `--enum-extra-derives`
* Adds test_enum_extra_attributes
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* Fixup
---------
Co-authored-by: Zander Milroy <zander.milroy+github@gmail.com>
2023-11-09 03:41:57 +08:00
Lev Khoroshansky
0dbfb42bb7
Support --enum-extra-derives
( #1934 )
...
* feat: Support `--enum-extra-derives`
* test: Enum extra derives
* style: Don't format derives
* fix: Put `quote!` inside a function with `#[rustfmt::skip]`
2023-11-09 03:04:24 +08:00
Chris Tsang
240620176c
0.12.4
2023-10-19 19:28:46 +01:00
Chris Tsang
f9db14c686
0.12.3
2023-09-22 18:13:25 +01:00
Chris Tsang
242237aa51
0.12.2
2023-08-04 20:44:05 +01:00
Chris Tsang
1e6b10b532
0.12.1
2023-07-27 15:01:42 +01:00
Chris Tsang
e7661a7423
Fix
2023-07-27 12:51:03 +01:00
Chris Tsang
cc677e37d5
Print some Entity Generate messages ( #1787 )
2023-07-27 19:19:04 +08:00
Chris Tsang
ae8dcceb43
Community Survey
2023-07-27 19:11:17 +08:00
Chris Tsang
96087291c2
0.12.0-rc.5
2023-07-25 16:28:35 +08:00
Billy Chan
9b54797dd7
Upgrade SQLx to v0.7 ( #1742 )
...
* Upgrade SQLx to v0.7
* Refactoring
* Fixup
* Bump SeaSchema version
* Fixup
* Refactoring
* Refactoring
* dep
* Bump
* Update sea-schema
* Update sea-schema
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-07-22 01:56:48 +08:00
Billy Chan
217894ddad
Drop git2
dependency ( #1769 )
...
* Change of API of SeaSchema 0.12
* [CLI] replace `git2` with `glob`
2023-07-21 21:44:43 +08:00
Chris Tsang
ae899d6744
Remove sea-query's Iden macro
2023-07-13 10:36:56 +01:00
Chris Tsang
4e8d0b0c0c
0.12.0-rc.4
2023-07-08 00:14:02 +08:00
Billy Chan
acca634e03
Revert "Upgrade SQLx to v0.7"
...
This reverts commit 832fabf8ff296896231c0d00bc42ecde779c6d5f.
2023-07-07 16:31:15 +08:00
Billy Chan
832fabf8ff
Upgrade SQLx to v0.7
2023-07-07 16:30:21 +08:00
ccQpein
e8eac61c3f
Update readme temp ( #1723 )
2023-06-26 11:06:04 +08:00
Chris Tsang
b45534c8c2
0.12.0-rc.3
2023-06-22 07:00:42 +08:00
Aditya Yadav
f6c9d81918
Moving clap to version 4 ( #1468 )
...
* Moving clap to vesion 4
* Moving the sea-orm-migration cli to clap v4
* Removing the deprecated flag from clapv4
* Upgrade clap to 4.3
* Fixup
* .
* Try compile [CLI]
---------
Co-authored-by: aadi58002 <aadi58002gmail.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-06-03 11:41:59 +08:00
Panagiotis Karatakis
3300336b1a
Expand SeaORM entity generator with Seaography related data ( #1599 )
...
* Add DeriveRelatedEntity macro
* Add generation for related enum and seaography
* Add seaography cli param
* update codegen tests
* Fix DeriveRelatedEntity macro doc and includes
* Fix all RelatedEntity variants for RelationBuilder
* Add tests for code
* Cargo format
* Fix clippy code
* Fix format
* Fix unit tests
* Fix unit tests
* Provide default for seaography::RelationBuilder
* Update changelog
* Update tests
* Modify code to match feedback
* Bring old Related Impl trait generation
* Modify DeriveRelatedEntity to gen impl seaography::RelationBuilder
* Generate RelatedEntity enum when seaography flag is enabled
* Update documentation
* Update Changelog
* Fix format errors
* Fix code generation
* relations with suffix are definition based
* Rev => Reverse easier to read
* snake_case to cameCase for name generation
* Fix unit tests
* Update lib.rs
* derive `seaography::RelationBuilder` only when `seaography` feature is enabled
* Try constructing async-graphql root for "related entity" and "entity" without relation
* Update demo
* CHANGELOG
* Update Cargo.toml
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* Revert "Update Cargo.toml"
This reverts commit 6b1669836a4fb5040bfb08999f0cf640c74dc64d.
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-05-19 22:14:46 +08:00
Billy Chan
44a94d65d2
Bump SeaQuery and SeaSchema to new latest RC version ( #1661 )
2023-05-18 16:51:13 +08:00
Abdulqudduus Babalola
e872436547
feat: add support for space-separated migration names ( #1570 )
...
* feat: add ability to create space separated migration names
* fmt
* Trim whitespace
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-05-03 19:12:09 +08:00
Billy Chan
9ca01b3e7c
Upgrade tracing-subscriber
dependency to 0.3.17 ( #1609 )
...
* Upgrade `tracing-subscriber` dependency to 0.3.17
* Revert "fix: `regex` dep should enable `unicode` feature (#1605 )"
This reverts commit 41d9a853342155e0b7df4afb15990225b1c8a981.
2023-04-24 14:21:15 +08:00
Billy Chan
41d9a85334
fix: regex
dep should enable unicode
feature ( #1605 )
2023-04-22 01:03:13 +08:00
sani haq
3a5707b1bb
Added a .gitignore
file for migration folder ( #1334 )
...
* added .gitignore file
* add .gitignore
* only add .gitignore if not in a existing git repo
* Use `git2` to detect git repository
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-03-23 11:41:13 +08:00
Billy Chan
737a894e27
Upgrade sea-query
to 0.29 ( #1562 )
...
* Upgrade `sea-query` to 0.29
* clippy
* More upgrades
* fixup
2023-03-22 17:24:42 +08:00
Billy Chan
8afc3eb2a3
Prepare 0.12.0
2023-03-16 18:28:03 +08:00
Billy Chan
fe38d5ed25
0.11.1
2023-03-10 22:13:02 +08:00
Chris Tsang
2a4e5e00fd
0.11.0
2023-02-07 02:51:00 +08:00
Chris Tsang
9e36c1103e
0.11.0-rc.2
2023-02-04 16:10:21 +08:00
Billy Chan
9b53b99706
Update CLI docs ( #1446 )
2023-02-04 15:52:27 +08:00
Chris Tsang
062cc3a0c0
sea-orm-cli 0.11.0-rc.1
2023-02-01 23:46:42 +08:00
Billy Chan
bf67d827a5
Fix clippy
2023-01-30 11:34:40 +08:00
Chris Tsang
a9aa139af2
Enable --universal-time by default ( #1420 )
...
* Enable --universal-time by default
* Add `--local-time` flag
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-01-29 10:56:46 +08:00
Billy Chan
71dbffc725
Fix clippy ( #1426 )
...
* Fix clippy
* Fix clippy
2023-01-27 18:50:20 +08:00
Billy Chan
9fbfd06663
[CLI] a warm welcome message included :) ( #1417 )
...
* [CLI] a warm welcome message included :)
* Update layout
* update layout
2023-01-27 12:44:40 +08:00
Chris Tsang
b84c2ffdcb
Revert "Enable --universal-time by default"
...
This reverts commit 25bc625fc034a0e02b9e42864ddb74c8d51c6623.
2023-01-24 14:02:01 +08:00