-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add scheduled_flag_update table and proto message
Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>
- Loading branch information
Showing
18 changed files
with
1,484 additions
and
714 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
migration/mysql/20250226091538_create_scheduled_flag_update_table.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 @@ | ||
CREATE TABLE scheduled_flag_update ( | ||
id VARCHAR(255) NOT NULL, | ||
feature_id VARCHAR(255) NOT NULL, | ||
environment_id VARCHAR(255) NOT NULL, | ||
scheduled_at BIGINT NOT NULL, | ||
created_at BIGINT NOT NULL, | ||
updated_at BIGINT NOT NULL, | ||
changes JSON NOT NULL, | ||
PRIMARY KEY (id), | ||
CONSTRAINT fk_feature | ||
FOREIGN KEY (feature_id, environment_id) | ||
REFERENCES feature(id, environment_id) | ||
ON DELETE RESTRICT | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
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
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
Oops, something went wrong.