Ignore:
Timestamp:
2009/03/04 20:48:14 (15 years ago)
Author:
Seasoft
Message:

プログラム上の必須列を NOT NULL に変更。

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

Legend:

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

    r17623 r17864  
    124124    law_term09 text, 
    125125    law_term10 text, 
    126     tax numeric DEFAULT 5, 
    127     tax_rule smallint DEFAULT 1, 
     126    tax numeric NOT NULL DEFAULT 5, 
     127    tax_rule smallint NOT NULL DEFAULT 1, 
    128128    email01 text, 
    129129    email02 text, 
     
    134134    shop_name text, 
    135135    shop_kana text, 
    136     point_rate numeric, 
    137     welcome_point numeric, 
     136    point_rate numeric NOT NULL DEFAULT 0, 
     137    welcome_point numeric NOT NULL DEFAULT 0, 
    138138    update_date datetime, 
    139139    top_tpl text, 
  • branches/comu-ver2/html/install/sql/create_table_pgsql.sql

    r17623 r17864  
    127127    law_term09 text, 
    128128    law_term10 text, 
    129     tax numeric DEFAULT 5, 
    130     tax_rule int2 DEFAULT 1, 
     129    tax numeric NOT NULL DEFAULT 5, 
     130    tax_rule int2 NOT NULL DEFAULT 1, 
    131131    email01 text, 
    132132    email02 text, 
     
    137137    shop_name text, 
    138138    shop_kana text, 
    139     point_rate numeric, 
    140     welcome_point numeric, 
     139    point_rate numeric NOT NULL DEFAULT 0, 
     140    welcome_point numeric NOT NULL DEFAULT 0, 
    141141    update_date timestamp, 
    142142    top_tpl text, 
Note: See TracChangeset for help on using the changeset viewer.