Ignore:
Timestamp:
2010/11/06 23:51:14 (16 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

    r19185 r19188  
    7070    function process() { 
    7171        $query = new SC_Query(); 
    72         $query->query(""); 
     72        $sql = <<< SQL 
     73    DROP TABLE IF EXISTS "dtb_plugin"; 
     74CREATE TABLE "dtb_plugin" ( 
     75  "id" int4 NOT NULL DEFAULT NULL, 
     76  "name" text NOT NULL DEFAULT NULL, 
     77  "enable" int2 NOT NULL DEFAULT 0, 
     78  "del_flg" int2 NOT NULL DEFAULT 0, 
     79  "class_name" text NOT NULL DEFAULT NULL, 
     80  "create_date" timestamp(6) NOT NULL DEFAULT now(), 
     81  "update_date" timestamp(6) NOT NULL DEFAULT now() 
     82) 
     83WITH (OIDS=FALSE); 
     84ALTER TABLE "dtb_plugin" ADD CONSTRAINT "dtb_plugin_pkey" PRIMARY KEY ("id");     
     85SQL; 
     86        $query->query(); 
     87         
    7388        exit; 
    7489        SC_Utils_Ex::sfIsSuccess(new SC_Session); 
Note: See TracChangeset for help on using the changeset viewer.