Changeset 19194


Ignore:
Timestamp:
2010/11/06 23:57:59 (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

    r19192 r19194  
    4343     */ 
    4444    function init() { 
    45                 $query = new SC_Query(); 
    46         $sql = <<< SQL 
    47     DROP TABLE IF EXISTS "dtb_plugin"; 
    48 CREATE 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 ) 
    57 WITH (OIDS=FALSE); 
    58 ALTER TABLE "dtb_plugin" ADD CONSTRAINT "dtb_plugin_pkey" PRIMARY KEY ("id");     
    59 SQL; 
    60  
    61         $query->query($sql); 
    62         exit; 
    6345        parent::init(); 
    6446        $this->tpl_mainpage = 'system/plugin.tpl'; 
Note: See TracChangeset for help on using the changeset viewer.