-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAP-949 Preprod refresh scripts and cronjob #2227
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: create-temp-tables | ||
data: | ||
createTables.sql: |- | ||
BEGIN; | ||
CREATE TABLE framework_flags_temp (LIKE framework_flags); | ||
CREATE TABLE framework_nomis_codes_temp (LIKE framework_nomis_codes); | ||
CREATE TABLE framework_nomis_mappings_temp (LIKE framework_nomis_mappings); | ||
CREATE TABLE framework_questions_temp (LIKE framework_questions); | ||
CREATE TABLE framework_responses_temp (LIKE framework_responses); | ||
CREATE TABLE frameworks_temp (LIKE frameworks); | ||
CREATE TABLE framework_flags_responses_temp (LIKE framework_flags_responses); | ||
CREATE TABLE framework_nomis_codes_questions_temp (LIKE framework_nomis_codes_questions); | ||
CREATE TABLE framework_nomis_mappings_responses_temp (LIKE framework_nomis_mappings_responses); | ||
CREATE TABLE locations_temp (LIKE locations); | ||
CREATE TABLE moves_temp (LIKE moves); | ||
CREATE TABLE journeys_temp (LIKE journeys); | ||
CREATE TABLE people_temp (LIKE people); | ||
CREATE TABLE profiles_temp (LIKE profiles); | ||
CREATE TABLE person_escort_records_temp (LIKE person_escort_records); | ||
CREATE TABLE court_hearings_temp (LIKE court_hearings); | ||
CREATE TABLE allocation_complex_cases_temp (LIKE allocation_complex_cases); | ||
CREATE TABLE allocations_temp (LIKE allocations); | ||
CREATE TABLE assessment_questions_temp (LIKE assessment_questions); | ||
CREATE TABLE categories_temp (LIKE categories); | ||
CREATE TABLE documents_temp (LIKE documents); | ||
CREATE TABLE ethnicities_temp (LIKE ethnicities); | ||
CREATE TABLE flipper_features_temp (LIKE flipper_features); | ||
CREATE TABLE flipper_gates_temp (LIKE flipper_gates); | ||
CREATE TABLE genders_temp (LIKE genders); | ||
CREATE TABLE locations_regions_temp (LIKE locations_regions); | ||
CREATE TABLE nationalities_temp (LIKE nationalities); | ||
CREATE TABLE nomis_alerts_temp (LIKE nomis_alerts); | ||
CREATE TABLE notifications_temp (LIKE notifications); | ||
CREATE TABLE populations_temp (LIKE populations); | ||
CREATE TABLE regions_temp (LIKE regions); | ||
CREATE TABLE subscriptions_temp (LIKE subscriptions); | ||
CREATE TABLE supplier_locations_temp (LIKE supplier_locations); | ||
CREATE TABLE suppliers_temp (LIKE suppliers); | ||
CREATE TABLE youth_risk_assessments_temp (LIKE youth_risk_assessments); | ||
CREATE TABLE generic_events_temp (LIKE generic_events); | ||
-- CREATE TABLE versions_temp (LIKE versions); | ||
COMMIT; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is versions_temp meant to be commented out?