1547 Commits

Author SHA1 Message Date
Billy Chan
0a55d3ea67
Edit CLI docs 2022-07-14 17:45:36 +08:00
Billy Chan
60bf6da8dd
sea-orm-cli migrate generate should take file name as argument instead of option (#870) 2022-07-14 17:43:21 +08:00
Billy Chan
c949a33678
Update docs 2022-07-13 13:07:05 +08:00
Javorek Dénes
d54ee23dd3
Update COMMUNITY.md with VeryRezsi (#858) 2022-07-12 13:03:46 +08:00
Billy Chan
50f42075ab
Update deployment script to update example automatically (#865)
* Update deployment script

* update examples

* Split deployment scripts

* Fixup

* Typo
2022-07-12 12:02:24 +08:00
Chris Tsang
7e8c8fabe7 sea-orm-migration 0.9.0 2022-07-12 00:27:42 +08:00
Chris Tsang
ad5a566a17 0.9.0 2022-07-12 00:25:47 +08:00
Chris Tsang
f880a9d7e5 sea-orm-macros 0.9.0 2022-07-12 00:25:03 +08:00
Chris Tsang
a62a2755ad sea-orm-cli 0.9.0 2022-07-12 00:21:47 +08:00
Chris Tsang
95503faa89 sea-orm-codegen 0.9.0 2022-07-12 00:20:37 +08:00
Chris Tsang
b74491a476 [issues] [cli] cargo fmt 2022-07-11 23:58:14 +08:00
Chris Tsang
324c6c8793 Pin dependencies 2022-07-11 23:53:24 +08:00
Chris Tsang
c56a37df51 Changelog 2022-07-11 23:44:43 +08:00
Andrew Huynh
fd279e2a74
Add spyglass to community doc (#856) 2022-07-11 23:22:18 +08:00
kyoto7250
23ac958142
include column name in TryGetError::Null (#853)
* include column name in TryGetError::Null

* remove prefix
2022-07-11 23:16:03 +08:00
Billy Chan
c5aa63e282
Generate entity files with PostgreSQL's schema name (#422)
* feat(codegen): generate entity files with PostgreSQL's schema name

* Ignore schema name `public`

* Restore changes

* Fix test cases

* cargo fmt

* [cli] fixup
2022-07-11 23:11:04 +08:00
Billy Chan
1a8d22d918
cargo fmt 2022-07-11 17:26:57 +08:00
Chris Tsang
4aaabacae3 Fix clippy 2022-07-11 00:42:42 +08:00
Chris Tsang
2824d5d598 Changelog 2022-07-11 00:41:10 +08:00
Billy Chan
bb9d532ab5
Support join with table alias (#852) 2022-07-11 00:07:11 +08:00
Chris Tsang
c956805210 Changelog 2022-07-11 00:05:32 +08:00
Chris Tsang
a24df5a91e Tweaks & fmt 2022-07-11 00:03:40 +08:00
Chris Tsang
c18a204f78 Changelog 2022-07-10 23:41:26 +08:00
Chris Tsang
cc31409549 Changelog 2022-07-10 23:41:26 +08:00
Chris Tsang
5bd05c697d Changelog 2022-07-10 23:41:26 +08:00
Chris Tsang
301d01a52a Changelog 2022-07-10 23:41:26 +08:00
Chris Tsang
47e80024d5 Changelog 2022-07-10 23:41:26 +08:00
Billy Chan
6e47d488d4
Drop SelectTwoMany::one method (#813) 2022-07-10 23:41:10 +08:00
Billy Chan
1fc156288e
[cli] skip checking connection string contains username and host (#851) 2022-07-10 23:03:33 +08:00
Billy Chan
65017bdc08
Add various blob column types with size (#850) 2022-07-10 22:52:50 +08:00
Billy Chan
1a3e8c456a
[CI] run clippy checks & fix clippy warnings (#840)
* Run clippy checks

* Fix clippy warnings

* Clippy checks for `sea-orm-*` crates

* Fix clippy warnings

* Fixup
2022-07-10 15:38:38 +08:00
Nahua
a1bf662fc3
#661: Add flag to sea-orm-cli to generate code for time crate (#724)
* Implement entity writer context and date time crate enum

* Use entity writer context to render correct rust type according to chrono/time enum

* Add unit test to get col rs type with time crate

* Add date-time-crate flag for cli

* Edit usage of updated get_rs_type method

* Use arg enum for date time crate

* Move date time crate arg enum conversion into commands module

* Directly use arg enum

* Fixing import issues for arg enum w/ help from Billy
2022-07-10 15:22:47 +08:00
Chris Tsang
54adc76850 Tweaks 2022-07-10 15:16:33 +08:00
Chris Tsang
a745318b04 Changelog 2022-07-10 15:15:45 +08:00
Chris Tsang
566430627a Changelog 2022-07-10 15:14:59 +08:00
LingDu
14e6c011b7
Update COMMUNITY.md (#857)
add poem_admin
2022-07-10 15:13:38 +08:00
Chris Tsang
bfe6eb39d5
Cursor pagination (#822)
* Cursor pagination

* Apply filter / range filter on cursor; Allow non-primary key filter

* Fixup

* Update cursor API

* Cursor pagination with composite keys

* Docs

* Rename cursor() to cursor_by()

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-07-10 15:08:38 +08:00
Émile Fugulin
d0aeda7bdd
Add time from u64 (#849) 2022-07-08 18:20:28 +08:00
Billy Chan
cecf4545cb
cargo fmt 2022-07-08 14:48:04 +08:00
Billy Chan
b0ea1138b4
Update lib.rs 2022-07-07 15:20:43 +08:00
Billy Chan
79d08e7d40
Update README.md 2022-07-07 15:20:17 +08:00
Billy Chan
9983e5d498
Update [issues] 2022-07-06 17:07:07 +08:00
Billy Chan
74b4d80f9d
Update [issues] 2022-07-06 17:02:59 +08:00
baoyachi. Aka Rust Hairy crabs
beef8211d8
fix compile error,res args add type (#839)
* fix compile error,res add type

* update .gitignore

* fix compile error

* fix compile error
2022-07-05 16:04:11 +08:00
Billy Chan
e0eb8ecf69
[cli] skip generating entity for ignored tables (#837) 2022-07-05 01:19:36 +08:00
Billy Chan
d6831e5295
Bump version of sqlx, sea-query, sea-schema, time and uuid (#834)
* Bump version of sqlx, sea-query, sea-schema, time and uuid

* PostgreSQL `u32` was wrapped in `Oid` (launchbadge/sqlx#1602)

* Update test cases

* Fix clippy warnings

* cargo fmt

* Fix clippy warnings

* Bump sea-schema to ^0.9.2

* Update test cases

* Pin on sea-query minor version
2022-07-05 01:05:11 +08:00
Billy Chan
1c4acf1402
[cli] remove unused code 2022-07-04 17:36:58 +08:00
Chris Tsang
a97104559a Fix build error 2022-07-02 14:44:39 +08:00
Mateusz
087f8462a6
Parse enum from repr[X] enums with values (#769)
* parse enum from repr[X] enums with values

* fix parsing negative enums variants with repr[X]

* add tests for enum num_value fallback support
2022-07-02 14:31:16 +08:00
Chris Tsang
5ff6063fe1 Reduce CI burden 2022-07-02 14:19:54 +08:00