Skip to content

Commit

Permalink
Release 3.5.4: Update to latest Spring Boot (3.4.1) and Spring Moduli…
Browse files Browse the repository at this point in the history
…th (1.3.1)

Fix mysql index definition.
  • Loading branch information
dmkeen committed Dec 27, 2024
1 parent b280d6d commit 027e289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.4.0</version>
<version>3.4.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

<groupId>org.keen</groupId>
<artifactId>solar</artifactId>
<version>3.5.3</version>
<version>3.5.4</version>

<name>solar</name>
<description>Retrieves solar data from a Fronius inverter and persists it to a data store.</description>

<properties>
<java.version>21</java.version>

<spring-modulith-bom.version>1.3.0</spring-modulith-bom.version>
<spring-modulith-bom.version>1.3.1</spring-modulith-bom.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mysql/setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CREATE SCHEMA IF NOT EXISTS solar
USE solar

CREATE TABLE IF NOT EXISTS current_power (id SERIAL, epoch_timestamp BIGINT, generation NUMERIC(6,2), consumption NUMERIC(6,2), uploaded BOOLEAN, primary key (id), index idx_inverter_epoch_timestamp (inverter_epoch_timestamp))
CREATE TABLE IF NOT EXISTS current_power (id SERIAL, epoch_timestamp BIGINT, generation NUMERIC(6,2), consumption NUMERIC(6,2), uploaded BOOLEAN, primary key (id), index idx_epoch_timestamp (epoch_timestamp))
CREATE TABLE IF NOT EXISTS generation_forecast (id SERIAL, pv_estimate NUMERIC(6,4), pv_estimate10 NUMERIC(6,4), pv_estimate90 NUMERIC(6,4), period_end_epoch BIGINT, period_length_seconds INT, primary key (id), index idx_period_end_epoch (period_end_epoch))
CREATE TABLE IF NOT EXISTS string_power (id SERIAL, period_end_epoch BIGINT, period_length_seconds INT, string1_volts NUMERIC(5,2), string1_amps NUMERIC(3,2), string1_power NUMERIC(7,3), string2_volts NUMERIC(5,2), string2_amps NUMERIC(3,2), string2_power NUMERIC(7,3), primary key (id), unique index idx_period_end_epoch (period_end_epoch))
CREATE TABLE IF NOT EXISTS tariff (id SERIAL, feed_in BOOLEAN, start_effective_date_epoch BIGINT, end_effective_date_epoch BIGINT, day_of_week VARCHAR(9), start_of_period TIME, end_of_period TIME, price_per_kwh NUMERIC(5,4), primary key (id))
Expand Down

0 comments on commit 027e289

Please sign in to comment.