-
Notifications
You must be signed in to change notification settings - Fork 30
/
test_databases.yml
64 lines (62 loc) · 1.6 KB
/
test_databases.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
default: &default
adapter: sqlite3
tables:
users:
shard: true
shard_column: id
sequencer:
<<: *default
database: /tmp/user_seq.bin
shards:
- user_shard_1:
<<: *default
database: /tmp/user_shard_1.bin
- user_shard_2:
<<: *default
database: /tmp/user_shard_2.bin
user_items:
shard: true
shard_key: user_id
algorithm: hashmap
shards:
- user_item_shard_1:
<<: *default
database: /tmp/user_item_shard_1.bin
- user_item_shard_2:
<<: *default
database: /tmp/user_item_shard_2.bin
- user_item_shard_3:
<<: *default
database: /tmp/user_item_shard_3.bin
- user_item_shard_4:
<<: *default
database: /tmp/user_item_shard_4.bin
- user_item_shard_5:
<<: *default
database: /tmp/user_item_shard_5.bin
- user_item_shard_6:
<<: *default
database: /tmp/user_item_shard_6.bin
- user_item_shard_7:
<<: *default
database: /tmp/user_item_shard_7.bin
- user_item_shard_8:
<<: *default
database: /tmp/user_item_shard_8.bin
user_decks:
shard: true
shard_column: id
shard_key: user_id
sequencer:
<<: *default
database: /tmp/user_deck_seq.bin
shards:
- user_deck_shard_1:
<<: *default
database: /tmp/user_deck_shard_1.bin
- user_deck_shard_2:
<<: *default
database: /tmp/user_deck_shard_2.bin
user_stages:
<<: *default
database: /tmp/user_stage.bin