Skip to content

Commit 2277099

Browse files
committed
move CI workflow to root for Github Actions
1 parent a2befba commit 2277099

3 files changed

Lines changed: 55 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
spring:
2+
datasource:
3+
url: "jdbc:mysql://localhost/company"
4+
username: "root"
5+
password: "0410"
6+
driver-class-name: com.mysql.cj.jdbc.Driver
7+
jpa:
8+
hibernate:
9+
ddl-auto: none
10+
properties:
11+
hibernate:
12+
show_sql: true
13+
format_sql: true
14+
open-in-view: true
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
spring:
2+
config:
3+
activate:
4+
on-profile: local
5+
datasource:
6+
url: "jdbc:h2:mem:library;MODE=MYSQL;NON_KEYWORDS=USER"
7+
username: "sa"
8+
password: ""
9+
driver-class-name: org.h2.Driver
10+
jpa:
11+
hibernate:
12+
ddl-auto: create
13+
properties:
14+
hibernate:
15+
show_sql: true
16+
format_sql: true
17+
dialect: org.hibernate.dialect.H2Dialect
18+
h2:
19+
console:
20+
enabled: true
21+
path: /h2-console
22+
23+
---
24+
spring:
25+
config:
26+
activate:
27+
on-profile: dev
28+
29+
datasource:
30+
url: "jdbc:mysql://localhost/library"
31+
username: "root"
32+
password: "Abcd1234!"
33+
driver-class-name: com.mysql.cj.jdbc.Driver
34+
jpa:
35+
hibernate:
36+
ddl_auto: none
37+
properties:
38+
hibernate:
39+
show_sql: true
40+
format_sql: true
41+
dialect: org.hibernate.dialect.MySQL8Dialect

0 commit comments

Comments
 (0)