Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration esp #60

Merged
merged 22 commits into from
Jun 27, 2024
Merged

Migration esp #60

merged 22 commits into from
Jun 27, 2024

Conversation

jordyBSK
Copy link
Contributor

No description provided.

jordybsk and others added 21 commits June 26, 2024 10:24
* fix: make ip unique

* feat: update data table to use a foreign key instead of a string

* feat: create a view to easily select data with esp name & ip

* fix: replace avg_date to match new data structure

* fix: change insert data to match new data structure
@jordyBSK jordyBSK marked this pull request as ready for review June 27, 2024 12:29
.env.example Outdated
@@ -4,5 +4,6 @@ DETAILED_ERRORS=false
ESP_PATH=./esp32/config
DB_PATH=./database/data

HOST_NAME=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless?

urlLogin: "http://climate-guardian.home/php",
urlCurrent: "http://localhost:3000",
urlData: `/postgrest`,
urlLogin: `/php`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are they still used?

@Rignchen Rignchen merged commit 5380f2a into museebolo:main Jun 27, 2024
@jordyBSK jordyBSK deleted the migration-esp branch July 3, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants