From ac869f8188e402182e3461f4fc24b01217659097 Mon Sep 17 00:00:00 2001 From: Jeff Baskin Date: Fri, 5 Aug 2022 16:47:01 -0400 Subject: [PATCH] Added a table structure. --- src/morethantext/mod.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/morethantext/mod.rs b/src/morethantext/mod.rs index 9134302..665fbe9 100644 --- a/src/morethantext/mod.rs +++ b/src/morethantext/mod.rs @@ -7,6 +7,14 @@ impl MoreThanText { } } +struct Table; + +impl Table { + async fn new() -> Self { + Self {} + } +} + #[cfg(test)] mod database { use super::*; @@ -16,3 +24,13 @@ mod database { MoreThanText::new().await; } } + +#[cfg(test)] +mod table { + use super::*; + + #[async_std::test] + async fn create() { + Table::new().await; + } +}