Skip to content

Instantly share code, notes, and snippets.

@alexaugustobr
Created April 4, 2025 00:02
Show Gist options
  • Select an option

  • Save alexaugustobr/316c55c7bfabc0631ab832245e3aa9fd to your computer and use it in GitHub Desktop.

Select an option

Save alexaugustobr/316c55c7bfabc0631ab832245e3aa9fd to your computer and use it in GitHub Desktop.
AlgaSensors
spring.datasource.url=jdbc:h2:file:~/algasensors-device-management-db;CASE_INSENSITIVE_IDENTIFIERS=TRUE;
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=123
#Permite acesso remoto
spring.h2.console.enabled=true
spring.h2.console.settings.web-allow-others=true
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
#Alterar para create-drop em caso de mudanca do schema
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment