Changeset 19192


Ignore:
Timestamp:
2010/11/06 23:54:01 (13 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php

    r19191 r19192  
    4343     */ 
    4444    function init() { 
     45                $query = new SC_Query(); 
     46        $sql = <<< SQL 
     47    DROP TABLE IF EXISTS "dtb_plugin"; 
     48CREATE TABLE "dtb_plugin" ( 
     49  "id" int4 NOT NULL DEFAULT NULL, 
     50  "name" text NOT NULL DEFAULT NULL, 
     51  "enable" int2 NOT NULL DEFAULT 0, 
     52  "del_flg" int2 NOT NULL DEFAULT 0, 
     53  "class_name" text NOT NULL DEFAULT NULL, 
     54  "create_date" timestamp(6) NOT NULL DEFAULT now(), 
     55  "update_date" timestamp(6) NOT NULL DEFAULT now() 
     56) 
     57WITH (OIDS=FALSE); 
     58ALTER TABLE "dtb_plugin" ADD CONSTRAINT "dtb_plugin_pkey" PRIMARY KEY ("id");     
     59SQL; 
     60 
     61        $query->query($sql); 
     62        exit; 
    4563        parent::init(); 
    4664        $this->tpl_mainpage = 'system/plugin.tpl'; 
Note: See TracChangeset for help on using the changeset viewer.