AI-RESEARCHER-2024 commited on
Commit
087c20c
·
verified ·
1 Parent(s): 50cb62c

Update src/main/resources/application.properties

Browse files
src/main/resources/application.properties CHANGED
@@ -1,21 +1,21 @@
1
- spring.application.name=theater_database
2
-
3
- # H2 Database Configuration for Hugging Face Spaces
4
- spring.datasource.url=jdbc:h2:mem:creightontheater
5
- spring.datasource.driver-class-name=org.h2.Driver
6
- spring.datasource.username=sa
7
- spring.datasource.password=
8
-
9
- # H2 Console (optional - for debugging)
10
- spring.h2.console.enabled=true
11
- spring.h2.console.path=/h2-console
12
-
13
- spring.jpa.show-sql=true
14
- spring.jpa.generate-ddl=true
15
- spring.jpa.hibernate.ddl-auto=create-drop
16
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
17
- spring.sql.init.mode=always
18
-
19
- # Server port for Hugging Face Spaces
20
- server.port=7860
21
-
 
1
+ spring.application.name=theater_database
2
+
3
+ # H2 Database Configuration for Hugging Face Spaces
4
+ spring.datasource.url=jdbc:h2:mem:creightontheater
5
+ spring.datasource.driver-class-name=org.h2.Driver
6
+ spring.datasource.username=sa
7
+ spring.datasource.password=
8
+
9
+ # H2 Console (optional - for debugging)
10
+ spring.h2.console.enabled=true
11
+ spring.h2.console.path=/h2-console
12
+
13
+ spring.jpa.show-sql=true
14
+ spring.jpa.generate-ddl=true
15
+ spring.jpa.hibernate.ddl-auto=create-drop
16
+ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
17
+ # Disable schema.sql initialization - let JPA auto-generate tables
18
+ spring.sql.init.mode=never
19
+
20
+ # Server port for Hugging Face Spaces
21
+ server.port=7860