Closed roger-mahler closed 10 months ago
Created CR 20231219_DML_CLEARINGHOUSE_STARTINGPOINT.
bin/add-change-request --project subsystem --change 20231219_DML_CLEARINGHOUSE_STARTINGPOINT \
--create-issue --note "Setup ClearingHouse with only ceramics and isotope data"
A new startingpoint is created usingt the following steps:
fn_delete_submission
.export-tables
script../bin/deploy-staging --create-database --on-conflict drop --source-type dump \
--source ./starting_point/sead_master_9_public.sql.gz --target-db-name sead_staging_temp \
--deploy-to-tag @2022.12
select clearing_house.fn_delete_submission(2, true, true);
select clearing_house.fn_delete_submission(3, true, true);
bin/rm-cr -c 20191221_DML_CLEARINGHOUSE_STARTINGPOINT
tbl_clearinghouse_submission_tables
(using ids in current production)tbl_clearinghouse_submission_tables
.fn_delete_submission
that guards for non-existing tables.λ mkdir -p subsystem/deploy/20231219_DML_CLEARINGHOUSE_STARTINGPOINT
λ bin/export-database --compress --target-folder subsystem/deploy/20231219_DML_CLEARINGHOUSE_STARTINGPOINT \
sead_staging_temp clearing_house
info: dumped 46 tables to folder "subsystem/deploy/20231219_DML_CLEARINGHOUSE_STARTINGPOINT"
ignored 123 empty tables
Content of subsystem/deploy/20231219_DML_CLEARINGHOUSE_STARTINGPOINT/copy.in
added to 20231219_DML_CLEARINGHOUSE_STARTINGPOINT with adjusted paths.
Create a new startingpoint for clearinghouse with only ceramics and isotope data.
The @2023.12 release will include full (and initial) releases of BugsCEP and dendrchronology data. All previously imported data of these data types are removed from the system. This includes data in the clearinghouse system. Current startingpoint for clearinghouse include dendrochronology, ceramics and isotope data.