module AxiTdl::SdlmodulePathDB
Constants
- DB_PATH
- TARGET
Public Class Methods
ceate_sdlmoule_path_table()
click to toggle source
# File lib/tdl/sdlmodule/sdlmodlule_path_db.rb, line 8 def self.ceate_sdlmoule_path_table tabel = nil TARGET.execute("SELECT count(*) FROM sqlite_master WHERE type='table' AND name='sdlmoule_mtime_path';") do |row| tabel_exist = row break end # Create a table unless table rows = TARGET.execute <<-SQL create table sdlmoule_mtime_path ( name varchar(128), path varchar(1024), grade varchar(5), blog varchar(50) ); SQL end end