forked from ywarnier/flyspray2redmine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dictionary.php
56 lines (53 loc) · 1.44 KB
/
dictionary.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Dictionary file por migration script
*
* This file contains a tiny dictionary to map the relationships between
* flyspray's database and redmine's database
*
* @author Sergio Infante <[email protected]>
* @sponsor BeezNest Latino http://www.beeznest.com
* @version 0.3
*
* @package flyspray_to_redmine_migration
*/
/**
* Array for the origin database - Flyspray
* @global array $migrate_origin
*/
global $migrate_origin;
$migrate_origin = array(
'users' => 'flyspray_users',
'projects' => 'flyspray_projects',
'tasks' => 'flyspray_tasks',
'assigned' => 'flyspray_assigned',
'attachments' => 'flyspray_attachments',
'comments' => 'flyspray_comments',
'members' => 'flyspray_assigned',
'users_in_groups' => 'flyspray_users_in_groups',
'groups' => 'flyspray_groups',
'versions' => 'flyspray_list_version',
'categories' => 'flyspray_list_category',
'related' => 'flyspray_related',
);
/**
* Array for the destiny database - Redmine
* @global array $migrate_destiny
*/
global $migrate_destiny;
$migrate_destiny = array(
'users' => 'users',
'projects' => 'projects',
'tasks' => 'issues',
'assigned' => 'issues',
'attachments' => 'attachments',
'comments' => 'journals',
'members' => 'members',
'versions' => 'versions',
'roles' => 'roles',
'categories' => 'issue_categories',
'watchers' => 'watchers',
'issue_relations'=> 'issue_relations',
'issue_statuses'=>'issue_statuses',
'user_preferences'=>'user_preferences'
);