Changeset 11727


Ignore:
Timestamp:
2007/03/09 22:50:36 (17 years ago)
Author:
uehara
Message:
 
Location:
branches/dev/html/install/sql
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/install/sql/create_table_mysql.sql

    r11716 r11727  
    159159    payment_image text, 
    160160    upper_rule numeric, 
    161     charge_flg int2 DEFAULT 1, 
    162     rule_min numeric, 
    163     upper_rule_max numeric, 
     161    charge_flg int2 DEFAULT 1, 
     162    rule_min numeric, 
     163    upper_rule_max numeric, 
    164164    module_id int4, 
    165165    module_path text, 
     
    518518    cell02 text, 
    519519    cell03 text, 
    520     mobile_phone_id text 
     520    mobile_phone_id text, 
     521    mailmaga_flg smallint 
    521522) TYPE=InnoDB ; 
    522523 
     
    692693    cell02 text, 
    693694    cell03 text, 
    694     order_id int4, 
     695    order_id int4, 
    695696    memo01 text, 
    696697    memo02 text, 
     
    902903CREATE TABLE dtb_templates  
    903904( 
    904     template_code       varchar(50) NOT NULL UNIQUE , 
    905     template_name       text            , 
    906     create_date     datetime        NOT NULL    , 
    907     update_date     datetime        NOT NULL     
     905    template_code        varchar(50) NOT NULL UNIQUE    , 
     906    template_name        text            , 
     907    create_date        datetime        NOT NULL    , 
     908    update_date        datetime        NOT NULL     
    908909) TYPE=InnoDB ; 
    909910 
    910911CREATE TABLE dtb_table_comment 
    911912( 
    912     id  int auto_increment primary key, 
    913     table_name  text, 
    914     column_name text, 
    915     description text 
    916 ) TYPE=InnoDB ; 
     913    id    int auto_increment primary key, 
     914    table_name    text, 
     915    column_name    text, 
     916    description    text 
     917) TYPE=InnoDB ; 
     918 
  • branches/dev/html/install/sql/create_table_pgsql.sql

    r11716 r11727  
    159159    payment_image text, 
    160160    upper_rule numeric, 
    161     charge_flg int2 DEFAULT 1, 
    162     rule_min numeric, 
    163     upper_rule_max numeric, 
     161    charge_flg int2 DEFAULT 1, 
     162    rule_min numeric, 
     163    upper_rule_max numeric, 
    164164    module_id int4, 
    165165    module_path text, 
     
    518518    cell02 text, 
    519519    cell03 text, 
    520     mobile_phone_id text 
     520    mobile_phone_id text, 
     521    mailmaga_flg int2 
    521522); 
    522523 
     
    903904create table dtb_templates  
    904905( 
    905 template_code       text        NOT NULL UNIQUE , 
    906 template_name       text            , 
    907 create_date     timestamp       NOT NULL    default now(), 
    908 update_date     timestamp       NOT NULL    default now() 
     906template_code        text        NOT NULL UNIQUE    , 
     907template_name        text            , 
     908create_date        timestamp        NOT NULL    default now(), 
     909update_date        timestamp        NOT NULL    default now() 
    909910); 
    910911 
    911912create table dtb_table_comment 
    912913( 
    913 id  serial, 
    914 table_name  text, 
    915 column_name text, 
    916 description text 
    917 ); 
     914id    serial, 
     915table_name    text, 
     916column_name    text, 
     917description    text 
     918); 
     919 
Note: See TracChangeset for help on using the changeset viewer.