Skip to content

Commit

Permalink
refactor: ddl에 oauth정보를 추가한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Dec 26, 2023
1 parent 8591ca3 commit c420bce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/resources/db/migration/V1__create_users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ create table if not exists users(
name varchar(10),
goal varchar(50),
authenticated varchar(255),
oauth_authenticate_info varchar(255) unique,
city varchar(255),
detail_job_class varchar(255),
job_class varchar(255),
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring.datasource.driver-class-name = org.h2.Driver
spring.datasource.url = jdbc:h2:mem:test;MODE=MySQL;DATABASE_TO_LOWER=TRUE

spring.jpa.hibernated.ddl-auto = create-drop
spring.jpa.hibernated.ddl-auto = validate
spring.jpa.database-platform = org.hibernate.dialect.H2Dialect

spring.datasource.hikari.maximum-pool-size = 4
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ create table if not exists users(
name varchar(10),
goal varchar(50),
authenticated varchar(255),
oauth_authenticate_info varchar(255) unique,
city varchar(255),
detail_job_class varchar(255),
job_class varchar(255),
Expand Down

0 comments on commit c420bce

Please sign in to comment.