replace handlebars with jinja
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
use color_eyre::{eyre::ContextCompat, Result};
|
||||
use heck::ToUpperCamelCase;
|
||||
use sea_schema::sea_query::{ColumnDef, ColumnSpec, ColumnType, IndexCreateStatement};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::generator::modules::sea_orm::config::DateTimeCrate;
|
||||
|
||||
use super::db::DbType;
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, Serialize)]
|
||||
pub struct Column {
|
||||
pub name: String,
|
||||
#[serde(skip_serializing)]
|
||||
pub col_type: ColumnType,
|
||||
#[serde(skip_serializing)]
|
||||
pub attrs: Vec<ColumnSpec>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user