migration.md 1.07 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
18
19
## Documents

## Education

## Events

## Mailing lists

Joost Rijneveld's avatar
Joost Rijneveld committed
20
21
22
23
24
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`.

25
26
## Members

27
28
29
30
31
32
33
34
35
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.

36
37
38
39
40
41
42
43
44
45
46
## Newsletters

## Partners

## Photos

## Pizzas

## Thabloids

## Merchandise