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_tag ON tags (tag);
|
||||||
CREATE INDEX idx_tags_value ON tags (value);
|
CREATE INDEX idx_tags_value ON tags (value);
|
||||||
CREATE INDEX idx_tags_event_id ON tags (event_id);
|
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 {
|
// enum DeletedCoordinatesTable {
|
||||||
Table,
|
// Table,
|
||||||
Coordinate,
|
// Coordinate,
|
||||||
CreatedAt,
|
// CreatedAt,
|
||||||
}
|
// }
|
||||||
|
|
||||||
impl sea_query::Iden for DeletedCoordinatesTable {
|
// impl sea_query::Iden for DeletedCoordinatesTable {
|
||||||
fn unquoted(&self, s: &mut dyn std::fmt::Write) {
|
// fn unquoted(&self, s: &mut dyn std::fmt::Write) {
|
||||||
write!(
|
// write!(
|
||||||
s,
|
// s,
|
||||||
"{}",
|
// "{}",
|
||||||
match self {
|
// match self {
|
||||||
Self::Table => "deleted_coordinates",
|
// Self::Table => "deleted_coordinates",
|
||||||
Self::Coordinate => "coordinate",
|
// Self::Coordinate => "coordinate",
|
||||||
Self::CreatedAt => "created_at",
|
// Self::CreatedAt => "created_at",
|
||||||
}
|
// }
|
||||||
)
|
// )
|
||||||
.unwrap()
|
// .unwrap()
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
enum EventSeenByRelaysTable {
|
enum EventSeenByRelaysTable {
|
||||||
Table,
|
Table,
|
||||||
|
|
Loading…
Reference in a new issue