Advertisement

Schema Browser

I am using SQLite3 for my primary database. SQLite has extremely simple schema that consists of one table called "sqlite_master". This program lets you see the schema of select databases on my server.

I will also open source the code for the site which you can browse with the Code Viewer

Available Databases

IDDB NamePlatformFile
1mainsqlitemain.db
Holds global information for the site including User Database and Web_Site Description
2logsqlitelog.db
Holds large logging database for the site
3dirsqlitedir.db
Contains files to create a link directory.
4calsqlitecal.db
Contains Information for the web site calendar.
5mstocksqlitemstock.db
Contains Meta Information about Mirostock used on the site.
6codesqlitecode.db
Program used to display the code used on this open source web site.
7commsqlitecomm.db
Database provides a model for analyzing a community
8msgsqlitemsg.db
Database contains messages from and to users

Connecting +code

Tables in code
Table NameRowsDDL
Code_Package0
CREATE TABLE Code_Package (
  package_id INTEGER PRIMARY KEY,
   parent_id INTEGER default 0,
  version_id INTEGER default 0,
 revision_id INTEGER default 0,
  package_nm TEXT,
package_desc TEXT)
Code_Revision8
CREATE TABLE Code_Revision (
   change_id INTEGER PRIMARY KEY,
     code_id INTEGER not null,
  version_id INTEGER DEFAULT 0,
 revision_id INTEGER DEFAULT 0,
     user_id INTEGER DEFAULT 0,
 revision_ts REAL not null,
    md5_hash TEXT default '',
    desc_txt TEXT, blog_url TEXT);
CREATE INDEX Code_Rev_Code_IX 
    ON Code_Revision (code_id)
Code_Viewer11
CREATE TABLE Code_Viewer (
     code_id INTEGER PRIMARY KEY NOT NULL,
     hit_cnt INTEGER default 0,
  display_cd INTEGER default 0, 
 category_id INTEGER default 0,
  version_id INTEGER default 0,
 revision_id INTEGER default 0,
  program_nm TEXT,
   code_path TEXT,
         url TEXT,
    keywords TEXT,
  short_desc TEXT, 
  package_id INTEGER default 0)
Test_Table1
CREATE TABLE Test_Table (test_id INTEGER PRIMARY KEY, test_nm TEXT)