Added a column definition.

This commit is contained in:
Jeff Baskin 2022-08-08 07:53:35 -04:00
parent 07baa7bbec
commit c7d9cf0a69
1 changed files with 6 additions and 2 deletions

View File

@ -48,6 +48,9 @@ impl Table {
pub async fn new() -> Self {
Self {}
}
async fn new_column(&self, _name: &str, _type: &str) {
}
}
#[cfg(test)]
@ -110,7 +113,8 @@ mod table {
use super::*;
#[async_std::test]
async fn create() {
Table::new().await;
async fn add_column() {
let tbl = Table::new().await;
tbl.new_column("fred", "StaticString").await;
}
}