aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/db_create.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-03-12 20:11:41 -0400
committerRalph Amissah <ralph@amissah.com>2013-03-12 20:11:41 -0400
commit79ebe464455d352b82c3dce446e8e3789e85d515 (patch)
tree57029f202d365f855107b6134613a80d4a4ca789 /lib/sisu/v4/db_create.rb
parentv4: html_format, manifest red arrow, next (segment), (broken) link fix, to toc (diff)
v4: terminal reporting, cosmetic
Diffstat (limited to 'lib/sisu/v4/db_create.rb')
-rw-r--r--lib/sisu/v4/db_create.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v4/db_create.rb b/lib/sisu/v4/db_create.rb
index a7e6c774..e5b8dc78 100644
--- a/lib/sisu/v4/db_create.rb
+++ b/lib/sisu/v4/db_create.rb
@@ -84,9 +84,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:',%{"#{@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]/
+ ? SiSU_Screen::Ansi.new(@opt.cmd,'Create SQLite db tables in:',%{"#{@file}"})
+ : SiSU_Screen::Ansi.new(@opt.cmd,'Create pgSQL db tables in:',%{"#{Db[:name_prefix]}#{@env.path.stub_pwd}"})
+ tell.dark_grey_title_hi 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?