(&self, stmt: TableCreateStatement)
| 44 | /// Schema Creation |
| 45 | impl SchemaManager<'_> { |
| 46 | pub async fn create_table(&self, stmt: TableCreateStatement) -> Result<(), DbErr> { |
| 47 | self.exec_stmt(stmt).await |
| 48 | } |
| 49 | |
| 50 | pub async fn create_index(&self, stmt: IndexCreateStatement) -> Result<(), DbErr> { |
| 51 | self.exec_stmt(stmt).await |