sea_schema/postgres/def/table.rs
1use super::*;
2#[cfg(feature = "with-serde")]
3use serde::{Deserialize, Serialize};
4
5#[derive(Clone, Debug, PartialEq)]
6#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
7/// Information relating to the table, but not its individual components. For information on a
8/// table including its columns and constraints, use [`TableDef`]
9pub struct TableInfo {
10 pub name: String,
11 pub of_type: Option<Type>,
12 // TODO:
13 // pub comment: String
14}