finish up annotate and cleanup project
This commit is contained in:
9
templates/annotate/comment.jinja
Normal file
9
templates/annotate/comment.jinja
Normal file
@@ -0,0 +1,9 @@
|
||||
{% if comment_config %}{{config_delimiter}}
|
||||
{{comment_config}}
|
||||
{{config_delimiter}}{% endif %}
|
||||
|
||||
Table: {{table_name}}
|
||||
|
||||
Columns:
|
||||
|
||||
{{column_info_table}}
|
||||
@@ -1,9 +0,0 @@
|
||||
use {{entities_path}}::{{model_path}}::{ActiveModel, Model, Entity};
|
||||
use sea_orm::ActiveModelBehavior;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl ActiveModelBehavior for ActiveModel {}
|
||||
|
||||
impl Model {}
|
||||
|
||||
impl ActiveModel {}
|
||||
@@ -1,9 +0,0 @@
|
||||
use {{prelude_path}}::*;
|
||||
use sea_orm::ActiveModelBehavior;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl ActiveModelBehavior for {{active_model_name}} {}
|
||||
|
||||
impl {{model_name}} {}
|
||||
|
||||
impl {{active_model_name}} {}
|
||||
@@ -1,3 +0,0 @@
|
||||
{{#each tables}}
|
||||
pub use {{entities_path}}::{{model_name}}::{ActiveModel as {{active_model_name}}, Model as {{model_name}}, Entity as {{entity_name}}};
|
||||
{{/each}}
|
||||
Reference in New Issue
Block a user