migration.md 1.29 KB
Newer Older
1
2
3
4
5
6
7
8
9
# Data migrations

The old new website of Study Association Thalia contained a lot of data.
Before we can launch the new website, all old data has to be migrated
to the new website.
The migration instructions for each part of the website are shown below.

## Active members

10
11
This is taken care of during member migration.

12
13
14
15
16
17
## Documents

## Education

## Events

18
19
20
21
22
Make sure that the API key is available as `EVENTS_MIGRATION_KEY` in settings.py.

To migrate the events, make sure that members, committees and boards
have been migrated. Then simply execute `python manage.py migrateevents`.

23
24
## Mailing lists

Joost Rijneveld's avatar
Joost Rijneveld committed
25
26
27
28
29
Make sure that the API key is available as `MIGRATION_KEY` in settings.py.

To migrate the mailinglists, make sure that members, committees and boards
have been migrated. Then simply execute `python manage.py migratelists`.

30
31
## Members

32
33
34
35
36
37
38
39
40
To migrate members, committees, boards, memberships of committees and boards,
as well as introductionmentorships, execute `python manage.py migratemembers`.

Unfortunately, not all the data is complete. Most notably, some begin-dates are
missing. This will need to be fixed manually. These have been set to 1970,
as start dates are not optional.

This migration typically takes a few minutes.

41
42
43
44
45
46
47
48
49
50
51
## Newsletters

## Partners

## Photos

## Pizzas

## Thabloids

## Merchandise