You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
UPDATE django_content_type SET app_label='cycle_2018' WHERE app_label='fec';
ALTER TABLE fec_candidate RENAME TO cycle_2018_candidate;
ALTER TABLE fec_candidate_id_seq RENAME TO cycle_2018_candidate_id_seq;
ALTER TABLE fec_committee RENAME TO cycle_2018_committee;
ALTER TABLE fec_donor RENAME TO cycle_2018_donor;
ALTER TABLE fec_donor_id_seq RENAME TO cycle_2018_donor_id_seq;
ALTER TABLE fec_filing RENAME TO cycle_2018_filing;
ALTER TABLE fec_filingstatus RENAME TO cycle_2018_filingstatus;
ALTER TABLE fec_inauguralcontrib RENAME TO cycle_2018_inauguralcontrib;
ALTER TABLE fec_inauguralcontrib_id_seq RENAME TO cycle_2018_inauguralcontrib_id_seq;
ALTER TABLE fec_schedulea RENAME TO cycle_2018_schedulea;
ALTER TABLE fec_schedulea_id_seq RENAME TO cycle_2018_schedulea_id_seq;
ALTER TABLE fec_scheduleb RENAME TO cycle_2018_scheduleb;
ALTER TABLE fec_scheduleb_id_seq RENAME TO cycle_2018_scheduleb_id_seq;
ALTER TABLE fec_schedulee RENAME TO cycle_2018_schedulee;
ALTER TABLE fec_schedulee_id_seq RENAME TO cycle_2018_schedulee_id_seq;
UPDATE django_migrations set app='cycle_2018' where app='fec';
INSERT INTO donor_donor (SELECT * FROM cycle_2018_donor);
In order to avoid data loss, we've got to create the new donor model, transfer the data, and then remove the old one, so for this issue we'll mark complete when the new model is created and then move the old model deletion to another issue.
The text was updated successfully, but these errors were encountered: