-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #268 Move CreatedAt, UpdatedAt in status
Fields CreatedAt, UpdatedAt – deprecated in Status Fields CreatedAt, UpdatedAt are created at root level of objects. Their modification is responsibility of API Server
- Loading branch information
1 parent
e3d9668
commit f1cd00a
Showing
29 changed files
with
533 additions
and
91 deletions.
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
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
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
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
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
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
8 changes: 8 additions & 0 deletions
8
packages/operator/pkg/database/migrations/postgres/sources/000005_created_updated.down.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,8 @@ | ||
BEGIN; | ||
alter table odahu_operator_training drop column created; | ||
alter table odahu_operator_training drop column updated; | ||
alter table odahu_operator_packaging drop column created; | ||
alter table odahu_operator_packaging drop column updated; | ||
alter table odahu_operator_deployment drop column created; | ||
alter table odahu_operator_deployment drop column updated; | ||
COMMIT; |
14 changes: 14 additions & 0 deletions
14
packages/operator/pkg/database/migrations/postgres/sources/000005_created_updated.up.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,14 @@ | ||
BEGIN; | ||
alter table odahu_operator_training | ||
add created timestamptz; | ||
alter table odahu_operator_training | ||
add updated timestamptz; | ||
alter table odahu_operator_packaging | ||
add created timestamptz; | ||
alter table odahu_operator_packaging | ||
add updated timestamptz; | ||
alter table odahu_operator_deployment | ||
add created timestamptz; | ||
alter table odahu_operator_deployment | ||
add updated timestamptz; | ||
COMMIT; |
Oops, something went wrong.