-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] : db TIMESTAMP 을 6-digit 에서 9-digit으로 전부 수정한다
- Loading branch information
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
api/src/main/resources/db/migration/V7__timestamp_precision_9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ALTER TABLE target MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE target MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE reviewer MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE reviewer MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE survey MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE survey MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE form_question MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE form_question MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE feedback MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE feedback MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE users MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE users MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE user_oauth_info MODIFY created_at TIMESTAMP(9) not null; | ||
ALTER TABLE user_oauth_info MODIFY updated_at TIMESTAMP(9) not null; | ||
|
||
ALTER TABLE form_feedback MODIFY bookmarked_at TIMESTAMP(9) not null; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters