WIP Runs
This commit is contained in:
parent
aebb1a5073
commit
cd9793417b
@ -29,4 +29,6 @@ features = ["macros", "offline", "migrate"]
|
|||||||
# features = ["sea_orm"]
|
# features = ["sea_orm"]
|
||||||
[dependencies.rocket_db_pools]
|
[dependencies.rocket_db_pools]
|
||||||
path = "../../../Rocket/contrib/db_pools/lib"
|
path = "../../../Rocket/contrib/db_pools/lib"
|
||||||
|
# git = "https://github.com/samsamai/Rocket.git"
|
||||||
|
# branch = "ss/seaorm-contrib"
|
||||||
features = ["seaorm_sqlx_sqlite"]
|
features = ["seaorm_sqlx_sqlite"]
|
||||||
|
@ -3,9 +3,6 @@ extern crate rocket;
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate rocket_db_pools;
|
extern crate rocket_db_pools;
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod tests;
|
|
||||||
|
|
||||||
mod sqlx;
|
mod sqlx;
|
||||||
|
|
||||||
#[launch]
|
#[launch]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use sea_orm::{error::*, sea_query, DbConn, ExecResult};
|
use sea_orm::{error::*, sea_query, DbConn, ExecResult};
|
||||||
|
|
||||||
use sea_query::{ColumnDef, ForeignKey, ForeignKeyAction, Index, TableCreateStatement};
|
use sea_orm::sea_query::{ColumnDef, ForeignKey, ForeignKeyAction, Index, TableCreateStatement};
|
||||||
|
|
||||||
// mod post;
|
// mod post;
|
||||||
pub use super::post::*;
|
pub use super::post::*;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user