forked from spearce/jgit_cassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.cs
32 lines (27 loc) · 865 Bytes
/
schema.cs
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
create keyspace git_store;
use git_store ;
create column family RepositoryIndex
with column_type = 'Standard'
and comparator = 'UTF8Type'
and comment = 'Associates repository name to internal identifier'
;
create column family Repository
with column_type = 'Standard'
and comparator = 'AsciiType'
and comment = 'High-level metadata about a repository'
;
create column family Ref
with column_type = 'Standard'
and comparator = 'UTF8Type'
and comment = 'References (branch heads/tags)'
;
create column family Chunk
with column_type = 'Standard'
and comparator = 'AsciiType'
and comment = 'Compressed pack chunks, and indexes'
;
create column family ObjectIndex
with column_type = 'Standard'
and comparator = 'AsciiType'
and comment = 'Global index mapping SHA-1 to chunk'
;