Remove unused table
This commit is contained in:
parent
9f29f6cd07
commit
0e8047c948
|
@ -21,10 +21,3 @@ CREATE TABLE tags (
|
|||
CREATE INDEX idx_tags_tag ON tags (tag);
|
||||
CREATE INDEX idx_tags_value ON tags (value);
|
||||
CREATE INDEX idx_tags_event_id ON tags (event_id);
|
||||
|
||||
CREATE TABLE deleted_coordinates (
|
||||
coordinate TEXT NOT NULL,
|
||||
created_at INTEGER NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX idx_coordinates_coordinate ON coordinates (coordinate);
|
||||
|
|
|
@ -147,26 +147,26 @@ impl sea_query::Iden for TagsTable {
|
|||
}
|
||||
}
|
||||
|
||||
enum DeletedCoordinatesTable {
|
||||
Table,
|
||||
Coordinate,
|
||||
CreatedAt,
|
||||
}
|
||||
// enum DeletedCoordinatesTable {
|
||||
// Table,
|
||||
// Coordinate,
|
||||
// CreatedAt,
|
||||
// }
|
||||
|
||||
impl sea_query::Iden for DeletedCoordinatesTable {
|
||||
fn unquoted(&self, s: &mut dyn std::fmt::Write) {
|
||||
write!(
|
||||
s,
|
||||
"{}",
|
||||
match self {
|
||||
Self::Table => "deleted_coordinates",
|
||||
Self::Coordinate => "coordinate",
|
||||
Self::CreatedAt => "created_at",
|
||||
}
|
||||
)
|
||||
.unwrap()
|
||||
}
|
||||
}
|
||||
// impl sea_query::Iden for DeletedCoordinatesTable {
|
||||
// fn unquoted(&self, s: &mut dyn std::fmt::Write) {
|
||||
// write!(
|
||||
// s,
|
||||
// "{}",
|
||||
// match self {
|
||||
// Self::Table => "deleted_coordinates",
|
||||
// Self::Coordinate => "coordinate",
|
||||
// Self::CreatedAt => "created_at",
|
||||
// }
|
||||
// )
|
||||
// .unwrap()
|
||||
// }
|
||||
// }
|
||||
|
||||
enum EventSeenByRelaysTable {
|
||||
Table,
|
||||
|
|
Loading…
Reference in a new issue