Prepare for roll-over to 2026

This commit is contained in:
Ben Sturmfels 2026-02-20 16:33:09 +11:00
parent e3331ab0a1
commit baf9aa644e
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
3 changed files with 11 additions and 11 deletions

View file

@ -1,12 +1,12 @@
Export any reports you want to keep.
Take a database dump.
Take a database dump:
fab download-postgres-db
Remove all accounts, tickets, invoices, talks, etc. I used the commands below, but this may be simpler to achieve by selecting the relevant users in the Django Admin, selecting "Delete" and letting the cascading deletes deal with it.
```
Replace USERNAMES_TO_KEEP with an array of staff usernames.
$ sudo -u postgres psql symposion
delete from registrasion_lineitem;
delete from registrasion_manualpayment;
@ -52,9 +52,9 @@ delete from symposion_proposals_additionalspeaker;
delete from symposion_proposals_supportingdocument;
delete from symposion_proposals_proposalbase;
delete from account_account where user_id in (select id from auth_user where username not in USERNAMES_TO_KEEP);
delete from account_account where user_id in (select id from auth_user where is_staff = false);
delete from account_emailconfirmation;
delete from account_emailaddress where user_id in (select id from auth_user where username not in USERNAMES_TO_KEEP);
delete from account_emailaddress where user_id in (select id from auth_user where is_staff = false);
delete from symposion_speakers_speaker;
delete from reversion_version;
@ -65,7 +65,7 @@ delete from pinax_stripe_charge;
delete from pinax_stripe_customer;
delete from django_admin_log;
delete from auth_user where username not in USERNAMES_TO_KEEP;
delete from auth_user where is_staff = false;
```
Set any remaining account `completed_registration` to false.

View file

@ -3,9 +3,9 @@
"model": "symposion_conference.conference",
"pk": 1,
"fields": {
"title": "FOSSY 2023",
"start_date": "2023-07-13",
"end_date": "2023-07-16",
"title": "FOSSY 2025",
"start_date": "2025-07-31",
"end_date": "2025-08-03",
"timezone": "US/Pacific"
}
}

View file

@ -3,8 +3,8 @@
"model": "sites.site",
"pk": 1,
"fields": {
"domain": "2023.fossy.us",
"name": "FOSSY 2023"
"domain": "2025.fossy.us",
"name": "FOSSY 2025"
}
}
]