Navigation Menu

Skip to content

Commit

Permalink
Prepare configurations table from grndump
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 13, 2012
1 parent 83dfe72 commit 0ca9284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fixture/companies/ddl-custom-id.grn
@@ -1,6 +1,7 @@
table_create companies_id0123_index_product TABLE_HASH_KEY ShortText
table_create companies_id0123_index_age TABLE_HASH_KEY UInt32
table_create companies_id0123_index_BigramTerms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
table_create companies_id0123_configurations TABLE_HASH_KEY ShortText
table_create companies_id0123 TABLE_HASH_KEY ShortText
column_create companies_id0123 address COLUMN_SCALAR ShortText
column_create companies_id0123 age COLUMN_SCALAR UInt32
Expand All @@ -14,3 +15,4 @@ column_create companies_id0123_index_BigramTerms companies_description COLUMN_IN
column_create companies_id0123_index_BigramTerms companies_address COLUMN_INDEX|WITH_POSITION companies_id0123 address
column_create companies_id0123_index_age companies_age COLUMN_INDEX|WITH_POSITION companies_id0123 age
column_create companies_id0123_index_product companies_product COLUMN_INDEX|WITH_POSITION companies_id0123 product
column_create companies_id0123_configurations value COLUMN_SCALAR ShortText
2 changes: 2 additions & 0 deletions test/fixture/companies/ddl.grn
@@ -1,6 +1,7 @@
table_create companies_00000000000000000000000000_index_product TABLE_HASH_KEY ShortText
table_create companies_00000000000000000000000000_index_age TABLE_HASH_KEY UInt32
table_create companies_00000000000000000000000000_index_BigramTerms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
table_create companies_00000000000000000000000000_configurations TABLE_HASH_KEY ShortText
table_create companies_00000000000000000000000000 TABLE_HASH_KEY ShortText
column_create companies_00000000000000000000000000 address COLUMN_SCALAR ShortText
column_create companies_00000000000000000000000000 age COLUMN_SCALAR UInt32
Expand All @@ -14,3 +15,4 @@ column_create companies_00000000000000000000000000_index_BigramTerms companies_d
column_create companies_00000000000000000000000000_index_BigramTerms companies_address COLUMN_INDEX|WITH_POSITION companies_00000000000000000000000000 address
column_create companies_00000000000000000000000000_index_age companies_age COLUMN_INDEX|WITH_POSITION companies_00000000000000000000000000 age
column_create companies_00000000000000000000000000_index_product companies_product COLUMN_INDEX|WITH_POSITION companies_00000000000000000000000000 product
column_create companies_00000000000000000000000000_configurations value COLUMN_SCALAR ShortText

0 comments on commit 0ca9284

Please sign in to comment.