(&self, stmt: IndexCreateStatement)
| 48 | } |
| 49 | |
| 50 | pub async fn create_index(&self, stmt: IndexCreateStatement) -> Result<(), DbErr> { |
| 51 | self.exec_stmt(stmt).await |
| 52 | } |
| 53 | |
| 54 | pub async fn create_foreign_key(&self, stmt: ForeignKeyCreateStatement) -> Result<(), DbErr> { |
| 55 | self.exec_stmt(stmt).await |