Restore schema fields to private
This commit is contained in:
parent
4e5959a53a
commit
cf76cc4d10
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ use std::collections::HashMap;
|
||||||
pub struct TableSchema {
|
pub struct TableSchema {
|
||||||
table_name: TableName, // used for descriptive errors
|
table_name: TableName, // used for descriptive errors
|
||||||
primary_key: ColumnPosition,
|
primary_key: ColumnPosition,
|
||||||
pub column_name_position_mapping: BiMap<ColumnName, ColumnPosition>,
|
column_name_position_mapping: BiMap<ColumnName, ColumnPosition>,
|
||||||
pub types: Vec<DbType>,
|
types: Vec<DbType>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type TableName = String;
|
pub type TableName = String;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue