Added a column definition.
This commit is contained in:
parent
07baa7bbec
commit
c7d9cf0a69
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user