This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from Nike-Inc/add_millis_to_timestamps_in_db
Add milliseconds to datetime fields in the database
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -14,6 +14,6 @@ | |
# limitations under the License. | ||
# | ||
|
||
version=3.16.0 | ||
version=3.16.1 | ||
groupId=com.nike.cerberus | ||
artifactId=cms |
35 changes: 35 additions & 0 deletions
35
...ain/resources/com/nike/cerberus/migration/V1.6.3.1__make_timestamps_precise_to_millis.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,35 @@ | ||
ALTER TABLE SECURE_DATA | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE SECURE_DATA_VERSION | ||
CHANGE ACTION_TS ACTION_TS DATETIME(3) NOT NULL, | ||
CHANGE VERSION_CREATED_TS VERSION_CREATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE SAFE_DEPOSIT_BOX | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE USER_GROUP_PERMISSIONS | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE USER_GROUP | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE AWS_IAM_ROLE_PERMISSIONS | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE AWS_IAM_ROLE | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE CATEGORY | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; | ||
|
||
ALTER TABLE ROLE | ||
CHANGE CREATED_TS CREATED_TS DATETIME(3) NOT NULL, | ||
CHANGE LAST_UPDATED_TS LAST_UPDATED_TS DATETIME(3) NOT NULL; |