forked from City-of-Turku/kada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kada.aliases.drushrc.php
71 lines (68 loc) · 1.49 KB
/
kada.aliases.drushrc.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
// Link this file to ~/.drush
$cache_tables = array(
'cache',
'cache_admin_menu',
'cache_block',
'cache_bootstrap',
'cache_coffee',
'cache_eck',
'cache_entity_og_membership',
'cache_entity_og_membership_type',
'cache_field',
'cache_filter',
'cache_form',
'cache_image',
'cache_libraries',
'cache_menu',
'cache_metatag',
'cache_page',
'cache_path',
'cache_rules',
'cache_scald',
'cache_search_api_solr',
'cache_shorten',
'cache_token',
'cache_variable',
'cache_views',
'cache_views_data',
'history',
'sessions',
);
$aliases['local'] = array(
'uri' => 'local.example.org',
'remote-host' => '192.168.10.10',
'remote-user' => 'vagrant',
'root' => '/vagrant/drupal/current',
'path-aliases' => array(
'%files' => '/vagrant/drupal/current/sites/default/files',
'%dump-dir' => '/home/vagrant',
),
'command-specific' => array(
'sql-sync' => array(
'no-cache' => TRUE,
'no-ordered-dump' => TRUE,
'structure-tables' => array(
'custom' => $cache_tables,
),
),
),
);
$aliases['develop'] = array(
'uri' => 'dev.example.org',
'root' => '/wwwroot/dev.example.org/current',
'remote-host' => 'dev.example.org',
'remote-user' => 'user',
'path-aliases' => array(
'%dump-dir' => '/home/user',
),
'command-specific' => array(
'sql-sync' => array(
'no-cache' => TRUE,
'no-ordered-dump' => TRUE,
'structure-tables' => array(
'custom' => $cache_tables,
),
),
),
);