diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-03-12 18:49:49 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-03-12 18:50:04 -0400 |
commit | 86b767b0f9a5aeac4708e48231d2010215b35e2b (patch) | |
tree | 0d9f69401731ac3cc670e6826e88a390558c9a06 /lib/sisu/v3dv/db_create.rb | |
parent | v3dv: documentation sisu_commands, rearranged & update with regard to excludes (diff) |
v3dv: sqlite3 discreet .sql.db file for each document (possibility added)
* in addition to existing possibility of a shared db in sqlite3 or postgresql
Diffstat (limited to 'lib/sisu/v3dv/db_create.rb')
-rw-r--r-- | lib/sisu/v3dv/db_create.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3dv/db_create.rb b/lib/sisu/v3dv/db_create.rb index 6420c3ec..627f0ea5 100644 --- a/lib/sisu/v3dv/db_create.rb +++ b/lib/sisu/v3dv/db_create.rb @@ -81,9 +81,9 @@ module SiSU_DbCreate def create_db @env=SiSU_Env::InfoEnv.new(@opt.fns) tell=(@sql_type=='sqlite') \ - ? SiSU_Screen::Ansi.new(@opt.cmd,'invert','Create Sqlite db tables in:',%{"#{@env.path.output}/sisu_sqlite.db"}) + ? SiSU_Screen::Ansi.new(@opt.cmd,'invert','Create Sqlite db tables in:',%{"#{@file}"}) : SiSU_Screen::Ansi.new(@opt.cmd,'invert','Create PG db tables in:',%{"#{Db[:name_prefix]}#{@env.path.stub_pwd}"}) - tell.colorize if @opt.cmd =~/vVM/ + tell.colorize if @opt.cmd =~/[vVM]/ SiSU_Env::SystemCall.new.create_pg_db(@env.path.stub_pwd) if @sql_type=='pg' #watch use of path.stub_pwd instead of stub end def output_dir? |