customer_services_table.sql
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
源码类别:

WEB邮件程序

开发平台:

PHP

  1. CREATE TABLE customer_services_table (
  2.    customer_service_id           BIGINT      NOT NULL AUTO_INCREMENT,
  3.    user_id                       BIGINT      NOT NULL DEFAULT 0,
  4.    service_id                    BIGINT      NOT NULL DEFAULT 0,
  5.    contract_start                DATETIME    NOT NULL,
  6.    contract_end                  DATETIME    NOT NULL,
  7.    price                         TEXT        NOT NULL DEFAULT '',
  8.    notes                         TEXT        NOT NULL DEFAULT '',
  9.    billing_cycle                 TEXT        NOT NULL DEFAULT '',
  10.    status                        TEXT        NOT NULL DEFAULT '',
  11.    PRIMARY KEY( customer_service_id ),
  12.    INDEX( customer_service_id, user_id, service_id )
  13. )