Ignore:
Timestamp:
2009/05/23 11:23:24 (15 years ago)
Author:
Seasoft
Message:

#472「管理機能の配送業者の追加でエラー」を修正。

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

Legend:

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

    r17864 r18023  
    161161CREATE TABLE dtb_delivtime ( 
    162162    deliv_id int NOT NULL, 
    163     time_id int auto_increment primary key NOT NULL, 
    164     deliv_time text NOT NULL 
     163    time_id int NOT NULL, 
     164    deliv_time text NOT NULL, 
     165    PRIMARY KEY (deliv_id, time_id) 
    165166) TYPE=InnoDB ; 
    166167 
  • branches/comu-ver2/html/install/sql/create_table_pgsql.sql

    r17873 r18023  
    165165CREATE TABLE dtb_delivtime ( 
    166166    deliv_id int4 NOT NULL, 
    167     time_id serial NOT NULL, 
     167    time_id int4 NOT NULL, 
    168168    deliv_time text NOT NULL, 
    169     PRIMARY KEY (time_id) 
     169    PRIMARY KEY (deliv_id, time_id) 
    170170); 
    171171 
  • branches/comu-ver2/html/install/sql/insert_data.sql

    r18021 r18023  
    310310INSERT INTO dtb_delivfee (deliv_id,fee,pref) VALUES (1, '1000', 47); 
    311311 
    312 INSERT INTO dtb_delivtime (deliv_id, deliv_time) VALUES (1, '午前'); 
    313 INSERT INTO dtb_delivtime (deliv_id, deliv_time) VALUES (1, '午後'); 
     312INSERT INTO dtb_delivtime (deliv_id, time_id, deliv_time) VALUES (1, 1, '午前'); 
     313INSERT INTO dtb_delivtime (deliv_id, time_id, deliv_time) VALUES (1, 2, '午後'); 
    314314 
    315315INSERT INTO dtb_payment (payment_method,charge,rule,deliv_id,rank,note,fix,status,del_flg,creator_id,create_date,update_date,payment_image,upper_rule) VALUES ('郵便振替', 0, NULL, 1, 4, NULL, 2, 1, 0, 1, now(), now(), NULL, NULL); 
Note: See TracChangeset for help on using the changeset viewer.