Ignore:
Timestamp:
04/07/06 13:36:54 (18 years ago)
Author:
Kris Deugau
Message:

/trunk

Update SQL tabledefs with defaults on the customers table

(province/country/tech handle)

First iteration of cust data handling for rWHOIS - allow display

of existing data, entry of complete fresh new data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/ipdb.psql

    r324 r329  
    44
    55CREATE TABLE "customers" (
    6         "custid" character varying(16) DEFAULT '' NOT NULL,
    7         "name" character varying(64),
    8         "street" character varying(25),
    9         "street2" character varying(25),
    10         "city" character varying(30),
    11         "province" character(2),
    12         "country" character(2),
    13         "pocode" character varying(7),
    14         "phone" character varying(15),
    15         "tech_handle" character varying(50),
    16         "abuse_handle" character varying(50),
    17         "admin_handle" character varying(50),
    18         "def_rdns" character varying(40),
    19         "special" text,
    20         Constraint "customers_pkey" Primary Key ("custid")
     6        "custid" character varying(16) DEFAULT '' NOT NULL PRIMARY KEY
     7        "name" character varying(64) DEFAULT '',
     8        "street" character varying(25) DEFAULT '',
     9        "street2" character varying(25) DEFAULT '',
     10        "city" character varying(30) DEFAULT '',
     11        "province" character(2) DEFAULT 'ON',
     12        "country" character(2) DEFAULT 'CA',
     13        "pocode" character varying(7) DEFAULT '',
     14        "phone" character varying(15) DEFAULT '',
     15        "tech_handle" character varying(50) DEFAULT 'VH25-ORG-ARIN',
     16        "abuse_handle" character varying(50) DEFAULT '',
     17        "admin_handle" character varying(50) DEFAULT '',
     18        "def_rdns" character varying(40) DEFAULT '',
     19        "special" text DEFAULT ''
    2120);
    2221
Note: See TracChangeset for help on using the changeset viewer.