31 lines
870 B
Diff
31 lines
870 B
Diff
--- src/full_schema.rs 2024-05-10 22:44:39.336282167 +0200
|
|
+++ src/schema.rs 2024-05-10 22:45:22.991271745 +0200
|
|
@@ -1,14 +1,10 @@
|
|
// @generated automatically by Diesel CLI.
|
|
|
|
pub mod sql_types {
|
|
#[derive(diesel::query_builder::QueryId, diesel::sql_types::SqlType)]
|
|
- #[diesel(postgres_type(name = "geometry"))]
|
|
- pub struct Geometry;
|
|
-
|
|
- #[derive(diesel::query_builder::QueryId, diesel::sql_types::SqlType)]
|
|
#[diesel(postgres_type(name = "node_type"))]
|
|
pub struct NodeType;
|
|
}
|
|
|
|
diesel::table! {
|
|
use diesel::sql_types::*;
|
|
@@ -52,13 +48,12 @@
|
|
}
|
|
|
|
diesel::table! {
|
|
use diesel::sql_types::*;
|
|
use postgis_diesel::sql_types::*;
|
|
use super::sql_types::NodeType;
|
|
- use super::sql_types::Geometry;
|
|
|
|
nodes (id) {
|
|
id -> Int4,
|
|
#[max_length = 100]
|
|
name -> Varchar,
|
|
node_type -> NodeType,
|