2024-05-10 23:08:03 +02:00
|
|
|
--- 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 @@
|
2024-05-10 11:40:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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,
|
2024-05-10 23:08:03 +02:00
|
|
|
node_type -> NodeType,
|