use crate::schema::types::{
EdgeTypeDefinition, GraphTypeVersion, NodeTypeDefinition, SchemaChange,
};
#[derive(Debug, Clone)]
pub struct CreateGraphTypeStatement {
pub name: String,
pub if_not_exists: bool,
pub version: Option<GraphTypeVersion>,
pub node_types: Vec<NodeTypeDefinition>,
pub edge_types: Vec<EdgeTypeDefinition>,
}
#[derive(Debug, Clone)]
pub struct DropGraphTypeStatement {
pub name: String,
pub if_exists: bool,
pub cascade: bool,
}
#[derive(Debug, Clone)]
pub struct AlterGraphTypeStatement {
#[allow(dead_code)] pub name: String,
#[allow(dead_code)] pub version: Option<GraphTypeVersion>,
#[allow(dead_code)]
pub changes: Vec<SchemaChange>,
}