Added a table structure.
This commit is contained in:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user