This commit is contained in:
Sam Samai 2021-08-25 22:17:11 +10:00
parent aebb1a5073
commit cd9793417b
3 changed files with 3 additions and 4 deletions

View File

@ -29,4 +29,6 @@ features = ["macros", "offline", "migrate"]
# features = ["sea_orm"]
[dependencies.rocket_db_pools]
path = "../../../Rocket/contrib/db_pools/lib"
# git = "https://github.com/samsamai/Rocket.git"
# branch = "ss/seaorm-contrib"
features = ["seaorm_sqlx_sqlite"]

View File

@ -3,9 +3,6 @@ extern crate rocket;
#[macro_use]
extern crate rocket_db_pools;
#[cfg(test)]
mod tests;
mod sqlx;
#[launch]

View File

@ -1,6 +1,6 @@
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;
pub use super::post::*;