source: temp/trunk/html/install/create_table.sql @ 1328

Revision 1328, 19.0 KB checked in by naka, 20 years ago (diff)

* empty log message *

  • Property svn:mime-type set to application/octet-stream
Line 
1CREATE TABLE dtb_kiyaku (
2    kiyaku_id serial NOT NULL,
3    kiyaku_title text NOT NULL,
4    kiyaku_text text NOT NULL,
5    rank int4 NOT NULL DEFAULT 0,
6    creator_id int4 NOT NULL,
7    create_date timestamp NOT NULL DEFAULT now(),
8    update_date timestamp NOT NULL,
9    delete  int2 NOT NULL DEFAULT 0
10);
11
12CREATE TABLE dtb_bat_order_daily_age (
13    order_count numeric NOT NULL DEFAULT 0,
14    total numeric NOT NULL DEFAULT 0,
15    total_average numeric NOT NULL DEFAULT 0,
16    start_age int2,
17    end_age int2,
18    member int2,
19    order_date timestamp DEFAULT now(),
20    create_date timestamp NOT NULL DEFAULT now()
21);
22
23CREATE TABLE mtb_zip (
24    code text,
25    old_zipcode text,
26    zipcode text,
27    state_kana text,
28    city_kana text,
29    town_kana text,
30    state text,
31    city text,
32    town text,
33    flg1 text,
34    flg2 text,
35    flg3 text,
36    flg4 text,
37    flg5 text,
38    flg6 text
39);
40
41CREATE TABLE dtb_update (
42    module_id int4 NOT NULL UNIQUE,
43    module_name text NOT NULL,
44    now_version text,
45    latest_version text NOT NULL,
46    main_php text NOT NULL,
47    extern_php text NOT NULL,
48    other_files text,
49    delete int2 NOT NULL DEFAULT 0,
50    create_date timestamp NOT NULL DEFAULT now(),
51    update_date timestamp
52);
53
54CREATE TABLE dtb_baseinfo (
55    company_name text,
56    company_kana text,
57    zip01 text,
58    zip02 text,
59    pref int2,
60    addr01 text,
61    addr02 text,
62    tel01 text,
63    tel02 text,
64    tel03 text,
65    fax01 text,
66    fax02 text,
67    fax03 text,
68    business_hour text,
69    law_company text,
70    law_manager text,
71    law_zip01 text,
72    law_zip02 text,
73    law_pref int2,
74    law_addr01 text,
75    law_addr02 text,
76    law_tel01 text,
77    law_tel02 text,
78    law_tel03 text,
79    law_fax01 text,
80    law_fax02 text,
81    law_fax03 text,
82    law_email text,
83    law_url text,
84    law_term01 text,
85    law_term02 text,
86    law_term03 text,
87    law_term04 text,
88    law_term05 text,
89    law_term06 text,
90    law_term07 text,
91    law_term08 text,
92    law_term09 text,
93    law_term10 text,
94    tax numeric DEFAULT 5,
95    tax_rule int2 DEFAULT 1,
96    email01 text,
97    email02 text,
98    email03 text,
99    email04 text,
100    email05 text,
101    free_rule numeric,
102    shop_name text,
103    shop_kana text,
104    point_rate numeric,
105    welcome_point numeric,
106    update_date timestamp,
107    top_tpl int4,
108    product_tpl int4,
109    detail_tpl int4,
110    mypage_tpl int4
111);
112
113CREATE TABLE dtb_deliv (
114    deliv_id serial NOT NULL,
115    name text,
116    service_name text,
117    confirm_url text,
118    rank int4,
119    status int2 NOT NULL DEFAULT 1,
120    delete int2 NOT NULL DEFAULT 0,
121    creator_id int4 NOT NULL,
122    create_date timestamp NOT NULL DEFAULT now(),
123    update_date timestamp
124);
125
126CREATE TABLE dtb_delivtime (
127    deliv_id int4 NOT NULL,
128    time_id serial NOT NULL,
129    time text NOT NULL
130);
131
132CREATE TABLE dtb_delivfee (
133    deliv_id int4 NOT NULL,
134    fee_id serial NOT NULL,
135    fee text NOT NULL
136);
137
138CREATE TABLE dtb_payment (
139    payment_id serial NOT NULL,
140    payment_method text,
141    charge numeric,
142    rule numeric,
143    deliv_id int4 DEFAULT 0,
144    rank int4,
145    note text,
146    fix int2,
147    status int2 NOT NULL DEFAULT 1,
148    delete int2 NOT NULL DEFAULT 0,
149    creator_id int4 NOT NULL,
150    create_date timestamp NOT NULL DEFAULT now(),
151    update_date timestamp,
152    payment_image text,
153    upper_rule numeric
154);
155
156CREATE TABLE dtb_mailtemplate (
157    template_id int4 NOT NULL,
158    subject text,
159    header text,
160    footer text,
161    creator_id int4 NOT NULL,
162    delete int2 NOT NULL DEFAULT 0,
163    create_date timestamp NOT NULL DEFAULT now(),
164    update_date timestamp NOT NULL
165);
166
167CREATE TABLE dtb_mailmaga_template (
168    template_id serial NOT NULL UNIQUE,
169    subject text,
170    charge_image text,
171    mail_method int4,
172    header text,
173    body text,
174    main_title text,
175    main_comment text,
176    main_product_id int4,
177    sub_title text,
178    sub_comment text,
179    sub_product_id01 int4,
180    sub_product_id02 int4,
181    sub_product_id03 int4,
182    sub_product_id04 int4,
183    sub_product_id05 int4,
184    sub_product_id06 int4,
185    sub_product_id07 int4,
186    sub_product_id08 int4,
187    sub_product_id09 int4,
188    sub_product_id10 int4,
189    sub_product_id11 int4,
190    sub_product_id12 int4,
191    delete int2 NOT NULL DEFAULT 0,
192    creator_id int4 NOT NULL,
193    create_date timestamp NOT NULL DEFAULT now(),
194    update_date timestamp
195);
196
197CREATE TABLE dtb_send_history (
198    send_id serial NOT NULL,
199    mail_method int2,
200    subject text,
201    body text,
202    send_count int4,
203    complete_count int4 NOT NULL DEFAULT 0,
204    start_date timestamp,
205    end_date timestamp,
206    search_data text,
207    delete int2 NOT NULL DEFAULT 0,
208    creator_id int4 NOT NULL,
209    create_date timestamp NOT NULL DEFAULT now(),
210    update_date timestamp NOT NULL DEFAULT now()
211);
212
213CREATE TABLE dtb_send_customer (
214    customer_id int4,
215    send_id serial NOT NULL,
216    email text,
217    name text,
218    send_flag int2
219);
220
221CREATE TABLE dtb_products (
222    product_id serial NOT NULL UNIQUE,
223    name text,
224    deliv_fee numeric,
225    sale_limit numeric,
226    sale_unlimited int2 DEFAULT 0,
227    category_id int4,
228    rank int4,
229    status int2 NOT NULL DEFAULT 2,
230    product_flag text,
231    point_rate numeric,
232    comment1 text,
233    comment2 text,
234    comment3 text,
235    comment4 text,
236    comment5 text,
237    comment6 text,
238    file1 text,
239    file2 text,
240    file3 text,
241    file4 text,
242    file5 text,
243    file6 text,
244    main_list_comment text,
245    main_list_image text,
246    main_comment text,
247    main_image text,
248    main_large_image text,
249    sub_title1 text,
250    sub_comment1 text,
251    sub_image1 text,
252    sub_large_image1 text,
253    sub_title2 text,
254    sub_comment2 text,
255    sub_image2 text,
256    sub_large_image2 text,
257    sub_title3 text,
258    sub_comment3 text,
259    sub_image3 text,
260    sub_large_image3 text,
261    sub_title4 text,
262    sub_comment4 text,
263    sub_image4 text,
264    sub_large_image4 text,
265    sub_title5 text,
266    sub_comment5 text,
267    sub_image5 text,
268    sub_large_image5 text,
269    sub_title6 text,
270    sub_comment6 text,
271    sub_image6 text,
272    sub_large_image6 text,
273    delete int2 NOT NULL DEFAULT 0,
274    creator_id int4 NOT NULL,
275    create_date timestamp NOT NULL DEFAULT now(),
276    update_date timestamp,
277    deliv_date_id int4
278);
279
280CREATE TABLE dtb_products_class (
281    product_class_id serial NOT NULL UNIQUE,
282    product_id int4 NOT NULL,
283    classcategory_id1 int4 NOT NULL DEFAULT 0,
284    classcategory_id2 int4 NOT NULL DEFAULT 0,
285    product_code text,
286    stock numeric,
287    stock_unlimited int2 DEFAULT 0,
288    sale_limit numeric,
289    price01 numeric,
290    price02 numeric,
291    status int2,
292    creator_id int4 NOT NULL,
293    create_date timestamp NOT NULL DEFAULT now(),
294    update_date timestamp
295);
296
297CREATE TABLE dtb_class (
298    class_id serial NOT NULL,
299    name text,
300    status int2,
301    rank int4,
302    creator_id int4 NOT NULL,
303    create_date timestamp NOT NULL DEFAULT now(),
304    update_date timestamp,
305    delete  int2 NOT NULL DEFAULT 0,
306    product_id int4
307);
308
309CREATE TABLE dtb_classcategory (
310    classcategory_id serial NOT NULL,
311    name text,
312    class_id int4 NOT NULL,
313    status int2,
314    rank int4,
315    creator_id int4 NOT NULL,
316    create_date timestamp NOT NULL DEFAULT now(),
317    update_date timestamp,
318    delete  int2 NOT NULL DEFAULT 0
319);
320
321CREATE TABLE dtb_category (
322    category_id serial NOT NULL,
323    category_name text,
324    parent_category_id int4 NOT NULL DEFAULT 0,
325    level int4 NOT NULL,
326    rank int4,
327    creator_id int4 NOT NULL,
328    create_date timestamp NOT NULL DEFAULT now(),
329    update_date timestamp,
330    delete  int2 NOT NULL DEFAULT 0
331);
332
333CREATE TABLE dtb_bat_order_daily (
334    total_order numeric NOT NULL DEFAULT 0,
335    member numeric NOT NULL DEFAULT 0,
336    nonmember numeric NOT NULL DEFAULT 0,
337    men numeric NOT NULL DEFAULT 0,
338    women numeric NOT NULL DEFAULT 0,
339    men_member numeric NOT NULL DEFAULT 0,
340    men_nonmember numeric NOT NULL DEFAULT 0,
341    women_member numeric NOT NULL DEFAULT 0,
342    women_nonmember numeric NOT NULL DEFAULT 0,
343    total numeric NOT NULL DEFAULT 0,
344    total_average numeric NOT NULL DEFAULT 0,
345    order_date timestamp NOT NULL DEFAULT now(),
346    create_date timestamp NOT NULL DEFAULT now(),
347    year int2 NOT NULL,
348    month int2 NOT NULL,
349    day int2 NOT NULL,
350    wday int2 NOT NULL,
351    key_day text NOT NULL,
352    key_month text NOT NULL,
353    key_year text NOT NULL,
354    key_wday text NOT NULL
355);
356
357CREATE TABLE dtb_bat_order_daily_hour (
358    total_order numeric NOT NULL DEFAULT 0,
359    member numeric NOT NULL DEFAULT 0,
360    nonmember numeric NOT NULL DEFAULT 0,
361    men numeric NOT NULL DEFAULT 0,
362    women numeric NOT NULL DEFAULT 0,
363    men_member numeric NOT NULL DEFAULT 0,
364    men_nonmember numeric NOT NULL DEFAULT 0,
365    women_member numeric NOT NULL DEFAULT 0,
366    women_nonmember numeric NOT NULL DEFAULT 0,
367    total numeric NOT NULL DEFAULT 0,
368    total_average numeric NOT NULL DEFAULT 0,
369    hour int2 NOT NULL DEFAULT 0,
370    order_date timestamp DEFAULT now(),
371    create_date timestamp NOT NULL DEFAULT now()
372);
373
374CREATE TABLE dtb_recommend_products (
375    product_id int4 NOT NULL,
376    recommend_product_id serial NOT NULL,
377    rank int4 NOT NULL,
378    comment text,
379    status int2 NOT NULL DEFAULT 0,
380    creator_id int4 NOT NULL,
381    create_date timestamp NOT NULL DEFAULT now(),
382    update_date timestamp NOT NULL DEFAULT now()
383);
384
385CREATE TABLE dtb_review (
386    review_id serial NOT NULL,
387    product_id int4 NOT NULL,
388    reviewer_name text NOT NULL,
389    reviewer_url text,
390    sex int2,
391    customer_id int4,
392    recommend_level int2 NOT NULL,
393    title text NOT NULL,
394    comment text NOT NULL,
395    status int2 DEFAULT 2,
396    creator_id int4 NOT NULL,
397    create_date timestamp NOT NULL DEFAULT now(),
398    update_date timestamp,
399    delete  int2 NOT NULL DEFAULT 0
400);
401
402CREATE TABLE dtb_customer_reading (
403    reading_product_id int4 NOT NULL,
404    customer_id int4 NOT NULL,
405    create_date timestamp NOT NULL,
406    update_date timestamp NOT NULL DEFAULT NOW()
407);
408
409CREATE TABLE dtb_category_count (
410    category_id int4 NOT NULL,
411    product_count int4 NOT NULL,
412    create_date timestamp NOT NULL DEFAULT Now()
413);
414
415CREATE TABLE dtb_category_total_count (
416    category_id int4 NOT NULL,
417    product_count int4,
418    create_date timestamp NOT NULL DEFAULT Now()
419);
420
421CREATE TABLE dtb_news (
422    news_id serial NOT NULL,
423    news_date timestamp,
424    rank int4,
425    news_comment text,
426    news_url text,
427    link_method int2,
428    creator_id int4 NOT NULL,
429    create_date timestamp NOT NULL DEFAULT now(),
430    update_date timestamp,
431    delete  int2 NOT NULL DEFAULT 0
432);
433
434CREATE TABLE dtb_best_products (
435    best_id serial NOT NULL,
436    category_id int4 NOT NULL,
437    rank int4 NOT NULL DEFAULT 0,
438    product_id int4 NOT NULL,
439    title text,
440    comment text,
441    creator_id int4 NOT NULL,
442    create_date timestamp NOT NULL DEFAULT now(),
443    update_date timestamp,
444    delete  int2 NOT NULL DEFAULT 0
445);
446
447CREATE TABLE dtb_mail_history (
448    send_id serial  NOT NULL,
449    order_id int4 NOT NULL,
450    send_date timestamp,
451    template_id int4,
452    creator_id int4 NOT NULL,
453    subject text,
454    mail_body text
455);
456
457CREATE TABLE dtb_customer (
458    customer_id serial  NOT NULL,
459    name01 text NOT NULL,
460    name02 text NOT NULL,
461    kana01 text NOT NULL,
462    kana02 text NOT NULL,
463    zip01 text,
464    zip02 text,
465    pref int2,
466    addr01 text,
467    addr02 text,
468    email text NOT NULL,
469    email_mobile text,
470    tel01 text,
471    tel02 text,
472    tel03 text,
473    fax01 text,
474    fax02 text,
475    fax03 text,
476    sex int2,
477    job int2,
478    birth timestamp,
479    password text,
480    reminder int2,
481    reminder_answer text,
482    secret_key text NOT NULL UNIQUE,
483    first_buy_date timestamp,
484    last_buy_date timestamp,
485    buy_times numeric DEFAULT 0,
486    buy_total numeric DEFAULT 0,
487    point numeric DEFAULT 0,
488    note text,
489    status int2 NOT NULL DEFAULT 1,
490    create_date timestamp NOT NULL DEFAULT now(),
491    update_date timestamp DEFAULT now(),
492    delete  int2 NOT NULL DEFAULT 0,
493    cell01 text,
494    cell02 text,
495    cell03 text
496);
497
498CREATE TABLE dtb_customer_mail (
499    email text NOT NULL UNIQUE,
500    mail_flag int2
501);
502
503CREATE TABLE dtb_customer_mail_temp (
504    email text NOT NULL UNIQUE,
505    mail_flag int2,
506    temp_id text NOT NULL UNIQUE,
507    end_flag int2,
508    update_date timestamp NOT NULL DEFAULT Now(),
509    create_data timestamp NOT NULL DEFAULT Now()
510);
511
512CREATE TABLE dtb_order (
513    order_id serial NOT NULL,
514    order_temp_id text,
515    customer_id int4 NOT NULL,
516    message text,
517    order_name01 text,
518    order_name02 text,
519    order_kana01 text,
520    order_kana02 text,
521    order_email text,
522    order_tel01 text,
523    order_tel02 text,
524    order_tel03 text,
525    order_fax01 text,
526    order_fax02 text,
527    order_fax03 text,
528    order_zip01 text,
529    order_zip02 text,
530    order_pref text,
531    order_addr01 text,
532    order_addr02 text,
533    order_sex int2,
534    order_birth timestamp,
535    order_job int4,
536    deliv_name01 text,
537    deliv_name02 text,
538    deliv_kana01 text,
539    deliv_kana02 text,
540    deliv_tel01 text,
541    deliv_tel02 text,
542    deliv_tel03 text,
543    deliv_fax01 text,
544    deliv_fax02 text,
545    deliv_fax03 text,
546    deliv_zip01 text,
547    deliv_zip02 text,
548    deliv_pref text,
549    deliv_addr01 text,
550    deliv_addr02 text,
551    subtotal numeric,
552    discount numeric,
553    deliv_fee numeric,
554    charge numeric,
555    use_point numeric,
556    add_point numeric,
557    birth_point numeric DEFAULT 0,
558    tax numeric,
559    total numeric,
560    payment_total numeric,
561    payment_id int4,
562    payment_method text,
563    deliv_id int4,
564    deliv_time_id int4,
565    deliv_time text,
566    deliv_no text,
567    note text,
568    status int2,
569    create_date timestamp NOT NULL DEFAULT now(),
570    loan_result text,
571    credit_result text,
572    credit_msg text,
573    update_date timestamp,
574    commit_date timestamp,
575    delete  int2 NOT NULL DEFAULT 0,
576    deliv_date text,
577    conveni_data text,
578    cell01 text,
579    cell02 text,
580    cell03 text
581);
582
583CREATE TABLE dtb_order_temp (
584    order_temp_id text NOT NULL,
585    customer_id int4 NOT NULL,
586    message text,
587    order_name01 text,
588    order_name02 text,
589    order_kana01 text,
590    order_kana02 text,
591    order_email text,
592    order_tel01 text,
593    order_tel02 text,
594    order_tel03 text,
595    order_fax01 text,
596    order_fax02 text,
597    order_fax03 text,
598    order_zip01 text,
599    order_zip02 text,
600    order_pref text,
601    order_addr01 text,
602    order_addr02 text,
603    order_sex int2,
604    order_birth timestamp,
605    order_job int4,
606    deliv_name01 text,
607    deliv_name02 text,
608    deliv_kana01 text,
609    deliv_kana02 text,
610    deliv_tel01 text,
611    deliv_tel02 text,
612    deliv_tel03 text,
613    deliv_fax01 text,
614    deliv_fax02 text,
615    deliv_fax03 text,
616    deliv_zip01 text,
617    deliv_zip02 text,
618    deliv_pref text,
619    deliv_addr01 text,
620    deliv_addr02 text,
621    subtotal numeric,
622    discount numeric,
623    deliv_fee numeric,
624    charge numeric,
625    use_point numeric,
626    add_point numeric,
627    birth_point numeric DEFAULT 0,
628    tax numeric,
629    total numeric,
630    payment_total numeric,
631    payment_id int4,
632    payment_method text,
633    deliv_id int4,
634    deliv_time_id int4,
635    deliv_time text,
636    deliv_no text,
637    note text,
638    mail_flag int2,
639    status int2,
640    deliv_check int2,
641    point_check int2,
642    loan_result text,
643    credit_result text,
644    credit_msg text,
645    create_date timestamp NOT NULL DEFAULT now(),
646    update_date timestamp,
647    delete  int2 NOT NULL DEFAULT 0,
648    deliv_date text,
649    conveni_data text,
650    cell01 text,
651    cell02 text,
652    cell03 text
653);
654
655CREATE TABLE dtb_other_deliv (
656    other_deliv_id serial NOT NULL,
657    customer_id int4 NOT NULL,
658    name01 text,
659    name02 text,
660    kana01 text,
661    kana02 text,
662    zip01 text,
663    zip02 text,
664    pref text,
665    addr01 text,
666    addr02 text,
667    tel01 text,
668    tel02 text,
669    tel03 text
670);
671
672CREATE TABLE dtb_order_detail (
673    order_id int4 NOT NULL,
674    product_id int4 NOT NULL,
675    classcategory_id1 int4 NOT NULL,
676    classcategory_id2 int4 NOT NULL,
677    product_name text NOT NULL,
678    product_code text,
679    classcategory_name1 text,
680    classcategory_name2 text,
681    price numeric,
682    quantity numeric,
683    point_rate numeric
684);
685
686CREATE TABLE mtb_pref (
687    pref_id int2 NOT NULL,
688    pref_name text,
689    rank int2 NOT NULL DEFAULT 0
690);
691
692CREATE TABLE dtb_member (
693    member_id serial NOT NULL,
694    name text,
695    department text,
696    login_id text NOT NULL,
697    password text NOT NULL,
698    authority int2 NOT NULL,
699    rank int4 NOT NULL DEFAULT 0,
700    work int2 NOT NULL DEFAULT 1,
701    delete int2 NOT NULL DEFAULT 0,
702    creator_id int4 NOT NULL,
703    update_date timestamp,
704    create_date timestamp NOT NULL DEFAULT now(),
705    login_date timestamp
706);
707
708CREATE TABLE dtb_question (
709    question_id serial NOT NULL,
710    question_name text,
711    question text,
712    create_date timestamp NOT NULL DEFAULT now(),
713    delete  int2 NOT NULL DEFAULT 0
714);
715
716CREATE TABLE dtb_question_result (
717    result_id serial NOT NULL,
718    question_id int4 NOT NULL,
719    question_date timestamp,
720    question_name text,
721    name01 text,
722    name02 text,
723    kana01 text,
724    kana02 text,
725    zip01 text,
726    zip02 text,
727    pref int2,
728    addr01 text,
729    addr02 text,
730    tel01 text,
731    tel02 text,
732    tel03 text,
733    mail01 text,
734    question01 text,
735    question02 text,
736    question03 text,
737    question04 text,
738    question05 text,
739    question06 text,
740    create_date timestamp NOT NULL DEFAULT now(),
741    delete  int2 NOT NULL DEFAULT 0
742);
743
744CREATE TABLE dtb_bat_relate_products (
745    product_id int4,
746    relate_product_id int4,
747    customer_id int4,
748    create_date timestamp DEFAULT now()
749);
750
751CREATE TABLE dtb_campaign (
752    campaign_id serial NOT NULL,
753    campaign_name text,
754    campaign_point_rate numeric NOT NULL,
755    campaign_point_type int2,
756    start_date timestamp NOT NULL,
757    end_date timestamp NOT NULL,
758    search_condition text,
759    delete int2 NOT NULL DEFAULT 0,
760    create_date timestamp NOT NULL,
761    update_date timestamp NOT NULL DEFAULT now()
762);
763
764CREATE TABLE dtb_campaign_detail (
765    campaign_id int4 NOT NULL,
766    product_id int4 NOT NULL,
767    campaign_point_rate numeric NOT NULL
768);
769
770CREATE TABLE dtb_pagelayout (
771    page_id serial NOT NULL,
772    page_name text,
773    url text NOT NULL,
774    php_dir text,
775    tpl_dir text,
776    filename text,
777    header_chk int2 DEFAULT 1,
778    footer_chk int2 DEFAULT 1,
779    edit_flg int2 DEFAULT 1,
780    author text,
781    description text,
782    keyword text,
783    update_url text,
784    create_date timestamp NOT NULL DEFAULT now(),
785    update_date timestamp NOT NULL DEFAULT now()
786);
787
788CREATE TABLE dtb_bloc (
789    bloc_id serial NOT NULL,
790    bloc_name text,
791    tpl_path text,
792    filename text,
793    create_date timestamp NOT NULL DEFAULT now(),
794    update_date timestamp NOT NULL DEFAULT now(),
795    php_path text
796);
797
798CREATE TABLE dtb_blocposition (
799    page_id int4 NOT NULL,
800    target_id int4,
801    bloc_id int4,
802    bloc_row int4
803);
804
805CREATE TABLE dtb_csv (
806    no serial,
807    csv_id int4 NOT NULL,
808    col text,
809    disp_name text,
810    rank int4,
811    status int2 NOT NULL DEFAULT 1,
812    create_date timestamp NOT NULL DEFAULT now(),
813    update_date timestamp NOT NULL DEFAULT now()
814);
815
816CREATE TABLE dtb_csv_sql (
817    sql_id serial,
818    name text NOT NULL,
819    sql text,
820    update_date timestamp NOT NULL DEFAULT now(),
821    create_date timestamp NOT NULL DEFAULT now()
822);
Note: See TracBrowser for help on using the repository browser.