finish up annotate and cleanup project
This commit is contained in:
@@ -6,3 +6,4 @@ pub mod _entities;
|
||||
|
||||
|
||||
pub mod user;
|
||||
pub mod user;
|
||||
@@ -1,10 +1,20 @@
|
||||
/* == Schema Information
|
||||
* ```
|
||||
* column_db_type = false
|
||||
* ```
|
||||
*
|
||||
* Table: user
|
||||
*
|
||||
* Columns:
|
||||
*
|
||||
* Name RsType Attrs
|
||||
* +==========+========+======================================+
|
||||
* id i32 autoincrement, not null, primary key
|
||||
* username String not null, unique key
|
||||
* email String not null, unique key
|
||||
* password String not null
|
||||
* test String not null, unique key
|
||||
* +----------+--------+--------------------------------------+
|
||||
*/
|
||||
|
||||
use super::prelude::*;
|
||||
use sea_orm::ActiveModelBehavior;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl ActiveModelBehavior for UserActiveModel {}
|
||||
|
||||
impl UserModel {}
|
||||
|
||||
impl UserActiveModel {}
|
||||
sdsfsdfsdfsdf
|
||||
|
||||
Reference in New Issue
Block a user