|
||||
1 : /* file: setup.sub¢Ò 2 : ¢Ò 3 : »ç¿ëÀÚ Å×À̺í°ú ¸Þ¸ð Å×À̺í (author: ¼±¤Çö)¢Ò 4 : ¢Ò 5 : Copyright (c) 2001/02/22 by Wesoft¢Ò 6 : All Rights Reserved.¢Ò 7 : */¢Ò 8 : ¢Ò 9 : ADDRBOOK_USER_TABLE=¢Ò 10 : {[¢Ò 11 : create table user (¢Ò 12 : selno int4 DEFAULT '0' NOT NULL AUTO_INCREMENT PRIMARY KEY, # ¼ø¹ø¢Ò 13 : wdtime char(16) DEFAULT '' NOT NULL, # µî·ÏÀÏ½Ã¢Ò 14 : sdtime char(16) DEFAULT '' NOT NULL, # »ç¿ëÁ¤ÁöÀÏ½Ã¢Ò 15 : ldtime char(16) DEFAULT '' NOT NULL, # ÃÖÈÄ ·Î±×ÀÎ ½Ã±â¢Ò 16 : lldtime char(16) DEFAULT '' NOT NULL, # ÀÌÀü ·Î±×ÀÎ ½Ã±â¢Ò 17 : ¢Ò 18 : id char(12) DEFAULT '' NOT NULL, # ÁÖ¼Ò·Ï id¢Ò 19 : pass char(40) DEFAULT '' NOT NULL, # ÁÖ¼Ò·Ï ¾ÏÈ£¢Ò 20 : title char(40) DEFAULT '' NOT NULL, # ÁÖ¼Ò·Ï Á¦¸ñ¢Ò 21 : usecnt int4 DEFAULT '0' NOT NULL, # »ç¿ëȸ¼ö¢Ò 22 : class enum('A','U') DEFAULT 'U' NOT NULL, # A:°ü¸®ÀÚ, U:»ç¿ëÀÚ¢Ò 23 : kind enum('C','O') DEFAULT 'C' NOT NULL, # ÁÖ¼Ò·Ï Á¾·ù(C:Æó¼â, O:°ø°³)¢Ò 24 : useflag enum('S','Y','N') DEFAULT 'S' NOT NULL, # »ç¿ë°¡´É ¿©ºÎ(Y:»ç¿ë°¡´É)¢Ò 25 : # (S:½Å±Ôµî·Ï½Åû,N:»ç¿ëºÒ´É)¢Ò 26 : ¢Ò 27 : name char(14) DEFAULT '' NOT NULL, # ¼ÒÀ¯ÀÚ ¼º¸í¢Ò 28 : phone char(16) DEFAULT '' NOT NULL, # ¼ÒÀ¯ÀÚ ÀüȹøÈ£¢Ò 29 : hdphone char(16) DEFAULT '' NOT NULL, # ¼ÒÀ¯ÀÚ ÈÞ´ëÆù ÀüȹøÈ£¢Ò 30 : email char(40) DEFAULT '' NOT NULL, # ¼ÒÀ¯ÀÚ Email ÁÖ¼Ò¢Ò 31 : ¢Ò 32 : pagerec char(2) DEFAULT '10' NOT NULL, # page´ç ·¹ÄÚµå °³¼ö¢Ò 33 : ¢Ò 34 : KEY id(id)¢Ò 35 : )¢Ò 36 : ]};¢Ò 37 : ¢Ò 38 : ADDRBOOK_MEMO_TABLE=¢Ò 39 : {[¢Ò 40 : create table umemo (¢Ò 41 : selno int4 DEFAULT '0' NOT NULL AUTO_INCREMENT PRIMARY KEY, # ¼ø¹ø¢Ò 42 : wdtime char(19) DEFAULT '' NOT NULL, # µî·ÏÀÏ½Ã¢Ò 43 : name varchar(16) DEFAULT '' NOT NULL, # ÀÛ¼ºÀÚ¢Ò 44 : memo varchar(250) DEFAULT '' NOT NULL # ¸Þ¸ð¢Ò 45 : )¢Ò 46 : ]};¢Ò 47 : ¢Ò 48 : return;¢Ò |
||||
|