Ignore:
Timestamp:
2009/03/05 20:45:30 (15 years ago)
Author:
Seasoft
Message:

dtb_category のDDL修正。PostgreSQL ではプライマリキーが存在せず、MySQL ではインデックスが二重に作成される不具合を修正。

Location:
branches/comu-ver2/html/install/sql
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/html/install/sql/create_table_pgsql.sql

    r17864 r17873  
    394394    create_date timestamp NOT NULL DEFAULT now(), 
    395395    update_date timestamp, 
    396     del_flg int2 NOT NULL DEFAULT 0 
     396    del_flg int2 NOT NULL DEFAULT 0, 
     397    PRIMARY KEY (category_id) 
    397398); 
    398399 
  • branches/comu-ver2/html/install/sql/insert_data.sql

    r17760 r17873  
    11CREATE INDEX dtb_products_class_product_id_key ON dtb_products_class(product_id); 
    22CREATE INDEX dtb_order_detail_product_id_key ON dtb_order_detail(product_id); 
    3 CREATE INDEX dtb_category_category_id_key ON dtb_category(category_id); 
    43 
    54INSERT INTO dtb_member (name, login_id, password, creator_id, authority, work, del_flg, create_date, update_date) 
Note: See TracChangeset for help on using the changeset viewer.