2186 Commits

Author SHA1 Message Date
Billy Chan
d45bb5b304
Support composite primary key of length up to 12 (#1508)
* feat: support composite primary key of length up to 12

* induction proof

* docs

* revert tests

* testing cursor by 4+ columns
2023-04-13 16:18:47 +08:00
Billy Chan
dd261f2a2f
CHANGELOG 2023-04-13 11:48:39 +08:00
Billy Chan
fbb16c73fa
Relation join on AND / OR condition (#1433) 2023-04-13 11:48:01 +08:00
Billy Chan
ef78b6d3ff
CHANGELOG 2023-04-13 11:17:18 +08:00
Billy Chan
2c082558df
Generate entity for duplicated many-to-many paths (#1435)
* Generate entity for duplicated many-to-many paths

* CI: run cargo fmt with nightly channel
2023-04-13 11:16:49 +08:00
Billy Chan
8da8c0a444
CHANGELOG 2023-04-13 11:14:52 +08:00
Billy Chan
a806898f74
feat(migration): configurable migration table name (#1511) 2023-04-13 11:12:01 +08:00
Billy Chan
473b769386
CHANGELOG 2023-04-13 11:04:15 +08:00
Billy Chan
6833529441
feat: String parameters accept any Into<String> (#1439) 2023-04-11 12:51:51 +08:00
Chris Tsang
8f785c120a Changelog 2023-04-11 12:18:38 +08:00
Chris Tsang
b1d1639754 Edit 2023-04-11 12:11:33 +08:00
Iskandarov Lev
6ae515961c
implemented (#1464) 2023-04-11 11:23:14 +08:00
Billy Chan
a26dfc8ef7
CHANGELOG 2023-04-08 22:03:48 +08:00
Billy Chan
08659d4f8f
feat: export ConnectionTrait in sea_orm_migration::prelude (#1577) 2023-04-08 21:58:13 +08:00
Chris Tsang
3c00e8f1f7 Edit 2023-04-07 12:16:33 +08:00
Billy Chan
91398a39ac
COMMUNITY 2023-04-05 21:30:09 +08:00
Afaan Bilal
b87167fa6b
Added BookStore to COMMUNITY.md (#1579) 2023-04-05 21:18:19 +08:00
ZihanType
e61c3bae30
Add sea-orm-adapter to COMMUNITY.md (#1580) 2023-04-05 21:17:48 +08:00
Billy Chan
8143568440
COMMUNITY 2023-03-31 12:29:17 +08:00
aumetra
15109612b8
Add Kitsune to COMMUNITY.md (#1572) 2023-03-31 12:26:26 +08:00
atopx
f360e79e1e
Update COMMUNITY.md (#1567) 2023-03-27 18:32:59 +08:00
Billy Chan
b974e68353
CHANGELOG 2023-03-26 15:10:03 +08:00
Billy Chan
2f062eabcc
chore: enable postgres-array feature when sqlx-postgres backend is selected (#1565) 2023-03-26 15:08:16 +08:00
Billy Chan
68e5393ef3
cargo publish will wait for crates.io index to update 2023-03-25 23:10:09 +08:00
Billy Chan
edfb26d298
CHANGELOG 2023-03-25 23:05:11 +08:00
Chris Tsang
1de34b516b Docs 2023-03-25 15:11:22 +08:00
Billy Chan
c3dcb3de42
CHANGELOG 2023-03-23 12:45:44 +08:00
Denny Wong
5ef273d5e4
Added escaping to ActiveEnum to allow for non-UAX#31 chars, as well as camel_case related conflicts. (#1374)
* Added escaping to ActiveEnum to allow for non-Unicode Standard Annex #31 characters, as well as addressing issues with ' ' and '_' causing potential identifier conflicts.

* Improved docstring for camel_case_with_escaped_non_xid.

* Moved underscore prepending to camel_case_with_escaped_non_xid.

* cargo fmt and code fixes to resolve CI failures.

* Added unittest to sea_orm_macros::util for new function.

* Fixed a typo in a doc code block.

* clippy

* Test cases

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-03-23 12:41:05 +08:00
Billy Chan
16015cc35d
CHANGELOG 2023-03-23 11:43:32 +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
619f20de19
CHANGELOG 2023-03-22 17:25:11 +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
83a6071346
CHANGELOG 2023-03-22 11:57:29 +08:00
Billy Chan
2eda8aa3f2
Drop the use of sea-strum and depends on the original strum with a tailored EnumIter provided (#1535)
* Update heck dependency

* Fix formatter error

* Drop the use of `sea-strum` and depends on the original `strum` with a tailored `EnumIter` provided

* fmt

* Depends on `strum` 0.23

* Depends on `strum` 0.24

* Source code adapted from https://github.com/Peternator7/strum

* Update LICENSE

---------

Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
Co-authored-by: Sergei Ivankov <96142843+sergeiivankov@users.noreply.github.com>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-03-22 11:47:15 +08:00
Billy Chan
162303cd0d
CHANGELOG 2023-03-20 18:57:03 +08:00
Billy Chan
f646aa7a70
chore: re-export sea_query::BlobSize in sea_orm::entity::prelude (#1548) 2023-03-20 18:52:26 +08:00
Billy Chan
5ba9aba900
chore: enable required syn features (#1556) 2023-03-20 18:44:51 +08:00
Billy Chan
8345dd5c28
COMMUNITY 2023-03-19 11:31:48 +08:00
rito528
1db41fe95b
docs: add seichi-portal-backend on COMMUNITY.md (#1553) 2023-03-19 11:28:26 +08:00
Jacobtread
dae85dac5d
Update COMMUNITY.md (#1550) 2023-03-19 11:27:59 +08:00
Billy Chan
ff00281cbd
COMMUNITY 2023-03-17 22:15:34 +08:00
Afaan Bilal
8306f662f9
Added Iron Guard to COMMUNITY.md (#1545) 2023-03-17 22:15:11 +08:00
伊欧
868fbe7d5c
Update COMMUNITY.md (#1546) 2023-03-17 22:14:44 +08:00
Philip
b0aa13d2b3
Update COMMUNITY.md (#1547) 2023-03-17 22:14:22 +08:00
Billy Chan
94fbabc4a2
CHANGELOG 2023-03-16 22:19:50 +08:00
Reverier
1161bc0f4a
set unselected Column of type Option<T> to None (#1513)
* Support `None` value for unselected Optional columns, closes #1507

* Support `None` value for unselected Optional columns, closes #1507

* fix rustfmt and cfg control issues

* add test case for #1513
2023-03-16 21:24:58 +08:00
Billy Chan
02b6afbb02
CHANGELOG 2023-03-16 20:43:21 +08:00
Sergei Ivankov
5737e023a2
Migration information methods (#1519)
Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
2023-03-16 20:28:40 +08:00
Billy Chan
ba2a2fd91d
CHANGELOG 2023-03-16 19:06:14 +08:00
Billy Chan
e903f17b15
chore: upgrade heck in sea-orm-codegen to 0.4 (#1544) 2023-03-16 19:05:58 +08:00