31 Commits

Author SHA1 Message Date
Chris Tsang
13b53369e2 Prepare for 0.10.0 2022-08-20 22:47:31 +08:00
Chris Tsang
85a829924c update examples 2022-08-20 14:06:55 +08:00
Chris Tsang
469770444c update examples 2022-07-22 00:14:28 +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
Billy Chan
c3db8f4b65
Examples: entity & application crate depends on SeaORM with minimum required features enabled (#723) 2022-05-14 13:24:39 +08:00
Billy Chan
8eb095385d Migration (#335)
* 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
2022-02-05 20:34:54 +08:00
Chris Tsang
82bad4a376 0.5.0 2022-01-01 16:05:36 +08:00
Billy Chan
aa7254179f
Prepare for 0.5.0-rc.1 (#404)
* docs: edit changelog

* test: update examples' sea-orm version

* docs: edit changelog
2021-12-31 00:41:47 +08:00
Billy Chan
b2549576bc
Fix rocket_example 2021-12-15 12:25:12 +08:00
Chris Tsang
49ef619619 Update examples 2021-11-19 23:29:15 +08:00
Carter Snook
058f6d5d2b
chore: update to Rust Edition 2021 (#273) 2021-10-26 17:27:53 +08:00
Chris Tsang
349108dad6 Update examples 2021-10-16 02:10:32 +08:00
Chris Tsang
f9dd9d242a Edit 2021-10-12 13:42:24 +08:00
Chris Tsang
8feca6be7b Edit 2021-10-12 12:21:17 +08:00
Chris Tsang
4a1b8fabc5 Rework Rocket Db Pool 2021-10-12 03:10:33 +08:00
Chris Tsang
6861802a6d Update Rocket & Actix examples 2021-09-22 18:02:50 +08:00
Chris Tsang
f7b42ebc0e Clean up Cargo.toml 2021-09-21 18:04:26 +08:00
Chris Tsang
004653e86d Simplify Cargo 2021-09-18 03:37:27 +08:00
Chris Tsang
dd7585c4e6 Tweak rocket example 2021-09-06 17:57:54 +08:00
Chris Tsang
9a1b771e41 0.2.0 2021-09-03 23:14:54 +08:00
Chris Tsang
60fdc78766 Move RocketDbPool 2021-09-03 23:12:49 +08:00
Chris Tsang
5c23cf7739 Cargo 2021-09-03 22:37:34 +08:00
Sam Samai
a5ea54df61 Renders HTML pages 2021-09-02 20:20:02 +10:00
Sam Samai
13364ab63c Use the database url in Rocket.toml to connect to mysql/postgres 2021-09-01 19:59:29 +10:00
Billy Chan
dfe26f9b7c
Without direct rocket dependency 2021-08-30 22:34:02 +08:00
Sam Samai
1126aae479 Generalize over MySQL and Postgres 2021-08-29 21:37:55 +10:00
Billy Chan
87d4f09931
Add rocket-mysql driver 2021-08-25 23:05:30 +08:00
Sam Samai
cd9793417b WIP Runs 2021-08-25 22:17:11 +10:00
Sam Samai
0998b64ed4 WIP 2021-08-22 14:18:27 +10:00
Sam Samai
c6480635c0 WIP 2021-08-21 21:58:20 +10:00
Sam Samai
53bbf32229 Init Rocket example 2021-08-12 22:05:06 +10:00