fix type id value
This commit is contained in:
7
Makefile
7
Makefile
@@ -9,3 +9,10 @@ deploy:
|
|||||||
#scp target/aarch64-unknown-linux-gnu/debug/rust_leptos raspiwork:/var/www/rust_leptos/rust_leptos
|
#scp target/aarch64-unknown-linux-gnu/debug/rust_leptos raspiwork:/var/www/rust_leptos/rust_leptos
|
||||||
scp -r target/site raspiwork:/var/www/rust_leptos/
|
scp -r target/site raspiwork:/var/www/rust_leptos/
|
||||||
ssh raspiwork "sudo systemctl start rust_leptos.service"
|
ssh raspiwork "sudo systemctl start rust_leptos.service"
|
||||||
|
|
||||||
|
install:
|
||||||
|
cargo leptos build --release
|
||||||
|
sudo systemctl stop rust_leptos.service
|
||||||
|
scp target/aarch64-unknown-linux-gnu/release/rust_leptos /var/www/rust_leptos/rust_leptos
|
||||||
|
scp -r target/site /var/www/rust_leptos/
|
||||||
|
sudo systemctl start rust_leptos.service
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pub const OPTIONS: &[Option] = &[
|
|||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||||
pub struct Value {
|
pub struct Value {
|
||||||
id: i32,
|
id: i64,
|
||||||
service: String,
|
service: String,
|
||||||
capteur: String,
|
capteur: String,
|
||||||
type_donnee: String,
|
type_donnee: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user