Files
turso/sql_generation/model/query/drop_index.rs
2025-10-13 13:23:44 -03:00

14 lines
361 B
Rust

use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct DropIndex {
pub index_name: String,
pub table_name: String,
}
impl std::fmt::Display for DropIndex {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "DROP INDEX {}", self.index_name)
}
}