-
Notifications
You must be signed in to change notification settings - Fork 156
/
default.database.yml
69 lines (54 loc) · 1.38 KB
/
default.database.yml
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
default: &default
adapter: jdbcpostgresql
encoding: unicode
pool: 4
username: terrapotamus
password: default
host: 127.0.0.1
template: template_gis
gis_schema_name: gis_tmp
development: &development
<<: *default
database: default_development
test: &test
<<: *default
database: default_test
production: &production
<<: *default
database: default_production
mysql_data_source: &pii
hostname: localhost
port: 3306
username: username
password: default
database: awesome_possum
mysql2psql:
mysql:
<<: *pii
destination:
production:
<<: *production
test:
<<: *test
development:
<<: *development
tables:
- countries
- samples
- universes
- variable_groups
- variables
- sample_variables
# If suppress_data is true, only the schema definition will be exported/migrated, and not the data
suppress_data: false
# If suppress_ddl is true, only the data will be exported/imported, and not the schema
suppress_ddl: true
# If force_truncate is true, forces a table truncate before table loading
force_truncate: false
preserve_order: true
remove_dump_file: true
dump_file_directory: /tmp
report_status: json # false, json, xml
# If clear_schema is true, the public schema will be recreated before conversion
# The import will fail if both clear_schema and suppress_ddl are true.
clear_schema: false