diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-04-05 14:48:12 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-04-05 14:48:12 -0400 |
commit | 683ca12cf2ace7a5203e2f9340cb69b2021c2e11 (patch) | |
tree | 6f63659c20763d3e61df7c7d7a68a71c9255be1e /lib/sisu/v3/db_create.rb | |
parent | v3: urls, reporting, some cleaning (diff) |
v3: sql creation -v reporting reducedsisu_3.2.2
Diffstat (limited to 'lib/sisu/v3/db_create.rb')
-rw-r--r-- | lib/sisu/v3/db_create.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3/db_create.rb b/lib/sisu/v3/db_create.rb index 627f0ea5..02c33b99 100644 --- a/lib/sisu/v3/db_create.rb +++ b/lib/sisu/v3/db_create.rb @@ -99,7 +99,7 @@ module SiSU_DbCreate to be populated from document files create tables metadata_and_text data import through ruby transfer - } unless @opt.cmd =~/q/ + } if @opt.cmd =~/[VM]/ @conn.execute(%{ CREATE TABLE metadata_and_text ( tid BIGINT PRIMARY KEY, @@ -210,7 +210,7 @@ module SiSU_DbCreate to be populated from documents files create tables doc_objects data import through ruby transfer - } unless @opt.cmd =~/q/ + } if @opt.cmd =~/[VM]/ @conn.execute(%{ CREATE TABLE doc_objects ( lid BIGINT PRIMARY KEY, @@ -251,7 +251,7 @@ module SiSU_DbCreate to be populated from document files create tables endnotes data import through ruby transfer - } unless @opt.cmd =~/q/ + } if @opt.cmd =~/[VM]/ @conn.execute(%{ CREATE TABLE endnotes ( nid BIGINT PRIMARY KEY, @@ -273,7 +273,7 @@ module SiSU_DbCreate to be populated from document files create tables endnotes_asterisk data import through ruby transfer - } unless @opt.cmd =~/q/ + } if @opt.cmd =~/[VM]/ @conn.execute(%{ CREATE TABLE endnotes_asterisk ( nid BIGINT PRIMARY KEY, @@ -295,7 +295,7 @@ module SiSU_DbCreate to be populated from document files create tables endnotes_plus data import through ruby transfer - } unless @opt.cmd =~/q/ + } if @opt.cmd =~/[VM]/ @conn.execute(%{ CREATE TABLE endnotes_plus ( nid BIGINT PRIMARY KEY, @@ -318,7 +318,7 @@ module SiSU_DbCreate to be populated from doc_objects files create tables urls data import through ruby transfer - } unless @opt.cmd =~/q/ + } if @opt.cmd =~/[VM]/ @conn.execute(%{ CREATE TABLE urls ( metadata_tid BIGINT REFERENCES metadata_and_text, |