1 | create table dtb_module_update_logs( |
---|
2 | log_id int auto_increment primary key NOT NULL, |
---|
3 | module_id int not null, |
---|
4 | buckup_path text, |
---|
5 | error_flg smallint DEFAULT 0, |
---|
6 | error text, |
---|
7 | ok text, |
---|
8 | create_date datetime NOT NULL, |
---|
9 | update_date datetime NOT NULL |
---|
10 | ); |
---|
11 | |
---|
12 | CREATE TABLE dtb_ownersstore_settings ( |
---|
13 | public_key text |
---|
14 | ) TYPE=InnoDB ; |
---|
15 | |
---|
16 | CREATE TABLE dtb_kiyaku ( |
---|
17 | kiyaku_id int auto_increment primary key NOT NULL, |
---|
18 | kiyaku_title text NOT NULL, |
---|
19 | kiyaku_text text NOT NULL, |
---|
20 | rank int NOT NULL DEFAULT 0, |
---|
21 | creator_id int NOT NULL, |
---|
22 | create_date datetime NOT NULL , |
---|
23 | update_date datetime NOT NULL, |
---|
24 | del_flg smallint NOT NULL DEFAULT 0 |
---|
25 | ) TYPE=InnoDB ; |
---|
26 | |
---|
27 | CREATE TABLE dtb_holiday ( |
---|
28 | holiday_id int auto_increment primary key NOT NULL, |
---|
29 | title text NOT NULL, |
---|
30 | month smallint NOT NULL, |
---|
31 | day smallint NOT NULL, |
---|
32 | rank int NOT NULL DEFAULT 0, |
---|
33 | creator_id int NOT NULL, |
---|
34 | create_date datetime NOT NULL, |
---|
35 | update_date datetime NOT NULL, |
---|
36 | del_flg smallint NOT NULL DEFAULT 0 |
---|
37 | ) TYPE=InnoDB ; |
---|
38 | |
---|
39 | CREATE TABLE mtb_zip ( |
---|
40 | code text, |
---|
41 | old_zipcode text, |
---|
42 | zipcode text, |
---|
43 | state_kana text, |
---|
44 | city_kana text, |
---|
45 | town_kana text, |
---|
46 | state text, |
---|
47 | city text, |
---|
48 | town text, |
---|
49 | flg1 text, |
---|
50 | flg2 text, |
---|
51 | flg3 text, |
---|
52 | flg4 text, |
---|
53 | flg5 text, |
---|
54 | flg6 text |
---|
55 | ) TYPE=InnoDB ; |
---|
56 | |
---|
57 | CREATE TABLE dtb_bat_order_daily_age ( |
---|
58 | order_count numeric NOT NULL DEFAULT 0, |
---|
59 | total numeric NOT NULL DEFAULT 0, |
---|
60 | total_average numeric NOT NULL DEFAULT 0, |
---|
61 | start_age smallint, |
---|
62 | end_age smallint, |
---|
63 | member smallint, |
---|
64 | order_date datetime, |
---|
65 | create_date datetime NOT NULL |
---|
66 | ) TYPE=InnoDB ; |
---|
67 | |
---|
68 | CREATE TABLE dtb_update ( |
---|
69 | module_id int NOT NULL UNIQUE, |
---|
70 | module_name text NOT NULL, |
---|
71 | now_version text, |
---|
72 | latest_version text NOT NULL, |
---|
73 | module_explain text, |
---|
74 | main_php text NOT NULL, |
---|
75 | extern_php text NOT NULL, |
---|
76 | install_sql text, |
---|
77 | uninstall_sql text, |
---|
78 | other_files text, |
---|
79 | del_flg smallint NOT NULL DEFAULT 0, |
---|
80 | create_date datetime NOT NULL , |
---|
81 | update_date datetime, |
---|
82 | release_date datetime NOT NULL |
---|
83 | ) TYPE=InnoDB ; |
---|
84 | |
---|
85 | CREATE TABLE dtb_baseinfo ( |
---|
86 | company_name text, |
---|
87 | company_kana text, |
---|
88 | zip01 text, |
---|
89 | zip02 text, |
---|
90 | pref smallint, |
---|
91 | addr01 text, |
---|
92 | addr02 text, |
---|
93 | tel01 text, |
---|
94 | tel02 text, |
---|
95 | tel03 text, |
---|
96 | fax01 text, |
---|
97 | fax02 text, |
---|
98 | fax03 text, |
---|
99 | business_hour text, |
---|
100 | law_company text, |
---|
101 | law_manager text, |
---|
102 | law_zip01 text, |
---|
103 | law_zip02 text, |
---|
104 | law_pref smallint, |
---|
105 | law_addr01 text, |
---|
106 | law_addr02 text, |
---|
107 | law_tel01 text, |
---|
108 | law_tel02 text, |
---|
109 | law_tel03 text, |
---|
110 | law_fax01 text, |
---|
111 | law_fax02 text, |
---|
112 | law_fax03 text, |
---|
113 | law_email text, |
---|
114 | law_url text, |
---|
115 | law_term01 text, |
---|
116 | law_term02 text, |
---|
117 | law_term03 text, |
---|
118 | law_term04 text, |
---|
119 | law_term05 text, |
---|
120 | law_term06 text, |
---|
121 | law_term07 text, |
---|
122 | law_term08 text, |
---|
123 | law_term09 text, |
---|
124 | law_term10 text, |
---|
125 | tax numeric DEFAULT 5, |
---|
126 | tax_rule smallint DEFAULT 1, |
---|
127 | email01 text, |
---|
128 | email02 text, |
---|
129 | email03 text, |
---|
130 | email04 text, |
---|
131 | email05 text, |
---|
132 | free_rule numeric, |
---|
133 | shop_name text, |
---|
134 | shop_kana text, |
---|
135 | point_rate numeric, |
---|
136 | welcome_point numeric, |
---|
137 | update_date datetime, |
---|
138 | top_tpl text, |
---|
139 | product_tpl text, |
---|
140 | detail_tpl text, |
---|
141 | mypage_tpl text, |
---|
142 | good_traded text, |
---|
143 | message text |
---|
144 | ) TYPE=InnoDB ; |
---|
145 | |
---|
146 | CREATE TABLE dtb_deliv ( |
---|
147 | deliv_id int auto_increment primary key NOT NULL, |
---|
148 | name text, |
---|
149 | service_name text, |
---|
150 | confirm_url text, |
---|
151 | rank int, |
---|
152 | status smallint NOT NULL DEFAULT 1, |
---|
153 | del_flg smallint NOT NULL DEFAULT 0, |
---|
154 | creator_id int NOT NULL, |
---|
155 | create_date datetime NOT NULL , |
---|
156 | update_date datetime |
---|
157 | ) TYPE=InnoDB ; |
---|
158 | |
---|
159 | CREATE TABLE dtb_delivtime ( |
---|
160 | deliv_id int NOT NULL, |
---|
161 | time_id int auto_increment primary key NOT NULL, |
---|
162 | deliv_time text NOT NULL |
---|
163 | ) TYPE=InnoDB ; |
---|
164 | |
---|
165 | CREATE TABLE dtb_delivfee ( |
---|
166 | deliv_id int NOT NULL, |
---|
167 | fee_id int auto_increment primary key NOT NULL, |
---|
168 | fee text NOT NULL, |
---|
169 | pref smallint |
---|
170 | ) TYPE=InnoDB ; |
---|
171 | |
---|
172 | CREATE TABLE dtb_payment ( |
---|
173 | payment_id int auto_increment primary key NOT NULL, |
---|
174 | payment_method text, |
---|
175 | charge numeric, |
---|
176 | rule numeric, |
---|
177 | deliv_id int DEFAULT 0, |
---|
178 | rank int, |
---|
179 | note text, |
---|
180 | fix smallint, |
---|
181 | status smallint NOT NULL DEFAULT 1, |
---|
182 | del_flg smallint NOT NULL DEFAULT 0, |
---|
183 | creator_id int NOT NULL, |
---|
184 | create_date datetime NOT NULL , |
---|
185 | update_date datetime, |
---|
186 | payment_image text, |
---|
187 | upper_rule numeric, |
---|
188 | charge_flg int2 DEFAULT 1, |
---|
189 | rule_min numeric, |
---|
190 | upper_rule_max numeric, |
---|
191 | module_id int4, |
---|
192 | module_path text, |
---|
193 | memo01 text, |
---|
194 | memo02 text, |
---|
195 | memo03 text, |
---|
196 | memo04 text, |
---|
197 | memo05 text, |
---|
198 | memo06 text, |
---|
199 | memo07 text, |
---|
200 | memo08 text, |
---|
201 | memo09 text, |
---|
202 | memo10 text |
---|
203 | ) TYPE=InnoDB ; |
---|
204 | |
---|
205 | CREATE TABLE dtb_mailtemplate ( |
---|
206 | template_id int NOT NULL, |
---|
207 | subject text, |
---|
208 | header text, |
---|
209 | footer text, |
---|
210 | creator_id int NOT NULL, |
---|
211 | del_flg smallint NOT NULL DEFAULT 0, |
---|
212 | create_date datetime NOT NULL , |
---|
213 | update_date datetime NOT NULL |
---|
214 | ) TYPE=InnoDB ; |
---|
215 | |
---|
216 | CREATE TABLE dtb_mailmaga_template ( |
---|
217 | template_id int auto_increment primary key NOT NULL UNIQUE, |
---|
218 | subject text, |
---|
219 | charge_image text, |
---|
220 | mail_method int, |
---|
221 | header text, |
---|
222 | body text, |
---|
223 | main_title text, |
---|
224 | main_comment text, |
---|
225 | main_product_id int, |
---|
226 | sub_title text, |
---|
227 | sub_comment text, |
---|
228 | sub_product_id01 int, |
---|
229 | sub_product_id02 int, |
---|
230 | sub_product_id03 int, |
---|
231 | sub_product_id04 int, |
---|
232 | sub_product_id05 int, |
---|
233 | sub_product_id06 int, |
---|
234 | sub_product_id07 int, |
---|
235 | sub_product_id08 int, |
---|
236 | sub_product_id09 int, |
---|
237 | sub_product_id10 int, |
---|
238 | sub_product_id11 int, |
---|
239 | sub_product_id12 int, |
---|
240 | del_flg smallint NOT NULL DEFAULT 0, |
---|
241 | creator_id int NOT NULL, |
---|
242 | create_date datetime NOT NULL , |
---|
243 | update_date datetime |
---|
244 | ) TYPE=InnoDB ; |
---|
245 | |
---|
246 | CREATE TABLE dtb_send_history ( |
---|
247 | send_id int auto_increment primary key NOT NULL, |
---|
248 | mail_method smallint, |
---|
249 | subject text, |
---|
250 | body text, |
---|
251 | send_count int, |
---|
252 | complete_count int NOT NULL DEFAULT 0, |
---|
253 | start_date datetime, |
---|
254 | end_date datetime, |
---|
255 | search_data text, |
---|
256 | del_flg smallint NOT NULL DEFAULT 0, |
---|
257 | creator_id int NOT NULL, |
---|
258 | create_date datetime NOT NULL , |
---|
259 | update_date datetime NOT NULL |
---|
260 | ) TYPE=InnoDB ; |
---|
261 | |
---|
262 | CREATE TABLE dtb_send_customer ( |
---|
263 | customer_id int, |
---|
264 | send_id int NOT NULL, |
---|
265 | email text, |
---|
266 | name text, |
---|
267 | send_flag smallint |
---|
268 | ) TYPE=InnoDB ; |
---|
269 | |
---|
270 | CREATE TABLE dtb_products ( |
---|
271 | product_id int auto_increment primary key NOT NULL UNIQUE, |
---|
272 | name text, |
---|
273 | deliv_fee numeric, |
---|
274 | sale_limit numeric, |
---|
275 | sale_unlimited smallint DEFAULT 0, |
---|
276 | category_id int, |
---|
277 | rank int, |
---|
278 | status smallint NOT NULL DEFAULT 2, |
---|
279 | product_flag text, |
---|
280 | point_rate numeric, |
---|
281 | comment1 text, |
---|
282 | comment2 text, |
---|
283 | comment3 mediumtext, |
---|
284 | comment4 text, |
---|
285 | comment5 text, |
---|
286 | comment6 text, |
---|
287 | file1 text, |
---|
288 | file2 text, |
---|
289 | file3 text, |
---|
290 | file4 text, |
---|
291 | file5 text, |
---|
292 | file6 text, |
---|
293 | main_list_comment text, |
---|
294 | main_list_image text, |
---|
295 | main_comment mediumtext, |
---|
296 | main_image text, |
---|
297 | main_large_image text, |
---|
298 | sub_title1 text, |
---|
299 | sub_comment1 mediumtext, |
---|
300 | sub_image1 text, |
---|
301 | sub_large_image1 text, |
---|
302 | sub_title2 text, |
---|
303 | sub_comment2 mediumtext, |
---|
304 | sub_image2 text, |
---|
305 | sub_large_image2 text, |
---|
306 | sub_title3 text, |
---|
307 | sub_comment3 mediumtext, |
---|
308 | sub_image3 text, |
---|
309 | sub_large_image3 text, |
---|
310 | sub_title4 text, |
---|
311 | sub_comment4 mediumtext, |
---|
312 | sub_image4 text, |
---|
313 | sub_large_image4 text, |
---|
314 | sub_title5 text, |
---|
315 | sub_comment5 mediumtext, |
---|
316 | sub_image5 text, |
---|
317 | sub_large_image5 text, |
---|
318 | sub_title6 text, |
---|
319 | sub_comment6 mediumtext, |
---|
320 | sub_image6 text, |
---|
321 | sub_large_image6 text, |
---|
322 | del_flg smallint NOT NULL DEFAULT 0, |
---|
323 | creator_id int NOT NULL, |
---|
324 | create_date datetime NOT NULL , |
---|
325 | update_date datetime, |
---|
326 | deliv_date_id int |
---|
327 | ) TYPE=InnoDB ; |
---|
328 | |
---|
329 | CREATE TABLE dtb_products_class ( |
---|
330 | product_class_id int auto_increment primary key NOT NULL UNIQUE, |
---|
331 | product_id int NOT NULL, |
---|
332 | classcategory_id1 int NOT NULL DEFAULT 0, |
---|
333 | classcategory_id2 int NOT NULL DEFAULT 0, |
---|
334 | product_code text, |
---|
335 | stock numeric, |
---|
336 | stock_unlimited smallint DEFAULT 0, |
---|
337 | sale_limit numeric, |
---|
338 | price01 numeric, |
---|
339 | price02 numeric, |
---|
340 | status smallint, |
---|
341 | creator_id int NOT NULL, |
---|
342 | create_date datetime NOT NULL , |
---|
343 | update_date datetime |
---|
344 | ) TYPE=InnoDB ; |
---|
345 | |
---|
346 | CREATE TABLE dtb_class ( |
---|
347 | class_id int auto_increment primary key NOT NULL, |
---|
348 | name text, |
---|
349 | status smallint, |
---|
350 | rank int, |
---|
351 | creator_id int NOT NULL, |
---|
352 | create_date datetime NOT NULL , |
---|
353 | update_date datetime, |
---|
354 | del_flg smallint NOT NULL DEFAULT 0, |
---|
355 | product_id int |
---|
356 | ) TYPE=InnoDB ; |
---|
357 | |
---|
358 | CREATE TABLE dtb_classcategory ( |
---|
359 | classcategory_id int auto_increment primary key NOT NULL, |
---|
360 | name text, |
---|
361 | class_id int NOT NULL, |
---|
362 | status smallint, |
---|
363 | rank int, |
---|
364 | creator_id int NOT NULL, |
---|
365 | create_date datetime NOT NULL , |
---|
366 | update_date datetime, |
---|
367 | del_flg smallint NOT NULL DEFAULT 0 |
---|
368 | ) TYPE=InnoDB ; |
---|
369 | |
---|
370 | CREATE TABLE dtb_category ( |
---|
371 | category_id int auto_increment primary key NOT NULL, |
---|
372 | category_name text, |
---|
373 | parent_category_id int NOT NULL DEFAULT 0, |
---|
374 | level int NOT NULL, |
---|
375 | rank int, |
---|
376 | creator_id int NOT NULL, |
---|
377 | create_date datetime NOT NULL , |
---|
378 | update_date datetime, |
---|
379 | del_flg smallint NOT NULL DEFAULT 0 |
---|
380 | ) TYPE=InnoDB ; |
---|
381 | |
---|
382 | CREATE TABLE dtb_product_categories ( |
---|
383 | product_id int4 NOT NULL, |
---|
384 | category_id int4 NOT NULL, |
---|
385 | rank int4, |
---|
386 | PRIMARY KEY(product_id, category_id) |
---|
387 | ) TYPE=InnoDB; |
---|
388 | |
---|
389 | CREATE TABLE dtb_bat_order_daily ( |
---|
390 | total_order numeric NOT NULL DEFAULT 0, |
---|
391 | member numeric NOT NULL DEFAULT 0, |
---|
392 | nonmember numeric NOT NULL DEFAULT 0, |
---|
393 | men numeric NOT NULL DEFAULT 0, |
---|
394 | women numeric NOT NULL DEFAULT 0, |
---|
395 | men_member numeric NOT NULL DEFAULT 0, |
---|
396 | men_nonmember numeric NOT NULL DEFAULT 0, |
---|
397 | women_member numeric NOT NULL DEFAULT 0, |
---|
398 | women_nonmember numeric NOT NULL DEFAULT 0, |
---|
399 | total numeric NOT NULL DEFAULT 0, |
---|
400 | total_average numeric NOT NULL DEFAULT 0, |
---|
401 | order_date datetime NOT NULL , |
---|
402 | create_date datetime NOT NULL , |
---|
403 | year smallint NOT NULL, |
---|
404 | month smallint NOT NULL, |
---|
405 | day smallint NOT NULL, |
---|
406 | wday smallint NOT NULL, |
---|
407 | key_day text NOT NULL, |
---|
408 | key_month text NOT NULL, |
---|
409 | key_year text NOT NULL, |
---|
410 | key_wday text NOT NULL |
---|
411 | ) TYPE=InnoDB ; |
---|
412 | |
---|
413 | CREATE TABLE dtb_bat_order_daily_hour ( |
---|
414 | total_order numeric NOT NULL DEFAULT 0, |
---|
415 | member numeric NOT NULL DEFAULT 0, |
---|
416 | nonmember numeric NOT NULL DEFAULT 0, |
---|
417 | men numeric NOT NULL DEFAULT 0, |
---|
418 | women numeric NOT NULL DEFAULT 0, |
---|
419 | men_member numeric NOT NULL DEFAULT 0, |
---|
420 | men_nonmember numeric NOT NULL DEFAULT 0, |
---|
421 | women_member numeric NOT NULL DEFAULT 0, |
---|
422 | women_nonmember numeric NOT NULL DEFAULT 0, |
---|
423 | total numeric NOT NULL DEFAULT 0, |
---|
424 | total_average numeric NOT NULL DEFAULT 0, |
---|
425 | hour smallint NOT NULL DEFAULT 0, |
---|
426 | order_date datetime , |
---|
427 | create_date datetime NOT NULL |
---|
428 | ) TYPE=InnoDB ; |
---|
429 | |
---|
430 | CREATE TABLE dtb_recommend_products ( |
---|
431 | product_id int NOT NULL, |
---|
432 | recommend_product_id int NOT NULL, |
---|
433 | rank int NOT NULL, |
---|
434 | comment text, |
---|
435 | status smallint NOT NULL DEFAULT 0, |
---|
436 | creator_id int NOT NULL, |
---|
437 | create_date datetime NOT NULL , |
---|
438 | update_date datetime NOT NULL |
---|
439 | ) TYPE=InnoDB ; |
---|
440 | |
---|
441 | CREATE TABLE dtb_review ( |
---|
442 | review_id int auto_increment primary key NOT NULL, |
---|
443 | product_id int NOT NULL, |
---|
444 | reviewer_name text NOT NULL, |
---|
445 | reviewer_url text, |
---|
446 | sex smallint, |
---|
447 | customer_id int, |
---|
448 | recommend_level smallint NOT NULL, |
---|
449 | title text NOT NULL, |
---|
450 | comment text NOT NULL, |
---|
451 | status smallint DEFAULT 2, |
---|
452 | creator_id int NOT NULL, |
---|
453 | create_date datetime, |
---|
454 | update_date datetime, |
---|
455 | del_flg smallint NOT NULL DEFAULT 0 |
---|
456 | ) TYPE=InnoDB ; |
---|
457 | |
---|
458 | CREATE TABLE dtb_customer_reading ( |
---|
459 | reading_product_id int NOT NULL, |
---|
460 | customer_id int NOT NULL, |
---|
461 | create_date datetime NOT NULL, |
---|
462 | update_date datetime NOT NULL |
---|
463 | ) TYPE=InnoDB ; |
---|
464 | |
---|
465 | CREATE TABLE dtb_category_count ( |
---|
466 | category_id int NOT NULL, |
---|
467 | product_count int NOT NULL, |
---|
468 | create_date datetime NOT NULL |
---|
469 | ) TYPE=InnoDB ; |
---|
470 | |
---|
471 | CREATE TABLE dtb_category_total_count ( |
---|
472 | category_id int NOT NULL, |
---|
473 | product_count int, |
---|
474 | create_date datetime NOT NULL |
---|
475 | ) TYPE=InnoDB ; |
---|
476 | |
---|
477 | CREATE TABLE dtb_news ( |
---|
478 | news_id int auto_increment primary key NOT NULL UNIQUE, |
---|
479 | news_date datetime, |
---|
480 | rank int, |
---|
481 | news_title text NOT NULL, |
---|
482 | news_comment text, |
---|
483 | news_url text, |
---|
484 | news_select smallint NOT NULL DEFAULT 0, |
---|
485 | link_method text, |
---|
486 | creator_id int NOT NULL, |
---|
487 | create_date datetime NOT NULL , |
---|
488 | update_date datetime, |
---|
489 | del_flg smallint NOT NULL DEFAULT 0 |
---|
490 | ) TYPE=InnoDB ; |
---|
491 | |
---|
492 | CREATE TABLE dtb_best_products ( |
---|
493 | best_id int auto_increment primary key NOT NULL, |
---|
494 | category_id int NOT NULL, |
---|
495 | rank int NOT NULL DEFAULT 0, |
---|
496 | product_id int NOT NULL, |
---|
497 | title text, |
---|
498 | comment text, |
---|
499 | creator_id int NOT NULL, |
---|
500 | create_date datetime NOT NULL , |
---|
501 | update_date datetime, |
---|
502 | del_flg smallint NOT NULL DEFAULT 0 |
---|
503 | ) TYPE=InnoDB ; |
---|
504 | |
---|
505 | CREATE TABLE dtb_mail_history ( |
---|
506 | send_id int auto_increment primary key NOT NULL, |
---|
507 | order_id int NOT NULL, |
---|
508 | send_date datetime, |
---|
509 | template_id int, |
---|
510 | creator_id int NOT NULL, |
---|
511 | subject text, |
---|
512 | mail_body text |
---|
513 | ) TYPE=InnoDB ; |
---|
514 | |
---|
515 | CREATE TABLE dtb_customer ( |
---|
516 | customer_id int auto_increment primary key NOT NULL, |
---|
517 | name01 text NOT NULL, |
---|
518 | name02 text NOT NULL, |
---|
519 | kana01 text NOT NULL, |
---|
520 | kana02 text NOT NULL, |
---|
521 | zip01 text, |
---|
522 | zip02 text, |
---|
523 | pref smallint, |
---|
524 | addr01 text, |
---|
525 | addr02 text, |
---|
526 | email text NOT NULL, |
---|
527 | email_mobile text, |
---|
528 | tel01 text, |
---|
529 | tel02 text, |
---|
530 | tel03 text, |
---|
531 | fax01 text, |
---|
532 | fax02 text, |
---|
533 | fax03 text, |
---|
534 | sex smallint, |
---|
535 | job smallint, |
---|
536 | birth datetime, |
---|
537 | password text, |
---|
538 | reminder smallint, |
---|
539 | reminder_answer text, |
---|
540 | secret_key varchar(50) NOT NULL UNIQUE, |
---|
541 | first_buy_date datetime, |
---|
542 | last_buy_date datetime, |
---|
543 | buy_times numeric DEFAULT 0, |
---|
544 | buy_total numeric DEFAULT 0, |
---|
545 | point numeric DEFAULT 0, |
---|
546 | note text, |
---|
547 | status smallint NOT NULL DEFAULT 1, |
---|
548 | create_date datetime NOT NULL , |
---|
549 | update_date datetime , |
---|
550 | del_flg smallint NOT NULL DEFAULT 0, |
---|
551 | cell01 text, |
---|
552 | cell02 text, |
---|
553 | cell03 text, |
---|
554 | mobile_phone_id text, |
---|
555 | mailmaga_flg smallint |
---|
556 | ) TYPE=InnoDB ; |
---|
557 | |
---|
558 | CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id(64)); |
---|
559 | |
---|
560 | CREATE TABLE dtb_customer_mail_temp ( |
---|
561 | email varchar(50) NOT NULL UNIQUE, |
---|
562 | mail_flag smallint, |
---|
563 | temp_id varchar(50) NOT NULL UNIQUE, |
---|
564 | end_flag smallint, |
---|
565 | update_date datetime NOT NULL , |
---|
566 | create_data datetime NOT NULL |
---|
567 | ) TYPE=InnoDB ; |
---|
568 | |
---|
569 | CREATE TABLE dtb_order ( |
---|
570 | order_id int auto_increment primary key NOT NULL, |
---|
571 | order_temp_id text, |
---|
572 | customer_id int NOT NULL, |
---|
573 | message text, |
---|
574 | order_name01 text, |
---|
575 | order_name02 text, |
---|
576 | order_kana01 text, |
---|
577 | order_kana02 text, |
---|
578 | order_email text, |
---|
579 | order_tel01 text, |
---|
580 | order_tel02 text, |
---|
581 | order_tel03 text, |
---|
582 | order_fax01 text, |
---|
583 | order_fax02 text, |
---|
584 | order_fax03 text, |
---|
585 | order_zip01 text, |
---|
586 | order_zip02 text, |
---|
587 | order_pref text, |
---|
588 | order_addr01 text, |
---|
589 | order_addr02 text, |
---|
590 | order_sex smallint, |
---|
591 | order_birth datetime, |
---|
592 | order_job int, |
---|
593 | deliv_name01 text, |
---|
594 | deliv_name02 text, |
---|
595 | deliv_kana01 text, |
---|
596 | deliv_kana02 text, |
---|
597 | deliv_tel01 text, |
---|
598 | deliv_tel02 text, |
---|
599 | deliv_tel03 text, |
---|
600 | deliv_fax01 text, |
---|
601 | deliv_fax02 text, |
---|
602 | deliv_fax03 text, |
---|
603 | deliv_zip01 text, |
---|
604 | deliv_zip02 text, |
---|
605 | deliv_pref text, |
---|
606 | deliv_addr01 text, |
---|
607 | deliv_addr02 text, |
---|
608 | subtotal numeric, |
---|
609 | discount numeric, |
---|
610 | deliv_fee numeric, |
---|
611 | charge numeric, |
---|
612 | use_point numeric, |
---|
613 | add_point numeric, |
---|
614 | birth_point numeric DEFAULT 0, |
---|
615 | tax numeric, |
---|
616 | total numeric, |
---|
617 | payment_total numeric, |
---|
618 | payment_id int, |
---|
619 | payment_method text, |
---|
620 | deliv_id int, |
---|
621 | deliv_time_id int, |
---|
622 | deliv_time text, |
---|
623 | deliv_no text, |
---|
624 | note text, |
---|
625 | status smallint, |
---|
626 | create_date datetime NOT NULL , |
---|
627 | loan_result text, |
---|
628 | credit_result text, |
---|
629 | credit_msg text, |
---|
630 | update_date datetime, |
---|
631 | commit_date datetime, |
---|
632 | del_flg smallint NOT NULL DEFAULT 0, |
---|
633 | deliv_date text, |
---|
634 | conveni_data text, |
---|
635 | cell01 text, |
---|
636 | cell02 text, |
---|
637 | cell03 text, |
---|
638 | memo01 text, |
---|
639 | memo02 text, |
---|
640 | memo03 text, |
---|
641 | memo04 text, |
---|
642 | memo05 text, |
---|
643 | memo06 text, |
---|
644 | memo07 text, |
---|
645 | memo08 text, |
---|
646 | memo09 text, |
---|
647 | memo10 text, |
---|
648 | campaign_id int |
---|
649 | ) TYPE=InnoDB ; |
---|
650 | |
---|
651 | CREATE TABLE dtb_order_temp ( |
---|
652 | order_temp_id text NOT NULL, |
---|
653 | customer_id int NOT NULL, |
---|
654 | message text, |
---|
655 | order_name01 text, |
---|
656 | order_name02 text, |
---|
657 | order_kana01 text, |
---|
658 | order_kana02 text, |
---|
659 | order_email text, |
---|
660 | order_tel01 text, |
---|
661 | order_tel02 text, |
---|
662 | order_tel03 text, |
---|
663 | order_fax01 text, |
---|
664 | order_fax02 text, |
---|
665 | order_fax03 text, |
---|
666 | order_zip01 text, |
---|
667 | order_zip02 text, |
---|
668 | order_pref text, |
---|
669 | order_addr01 text, |
---|
670 | order_addr02 text, |
---|
671 | order_sex smallint, |
---|
672 | order_birth datetime, |
---|
673 | order_job int, |
---|
674 | deliv_name01 text, |
---|
675 | deliv_name02 text, |
---|
676 | deliv_kana01 text, |
---|
677 | deliv_kana02 text, |
---|
678 | deliv_tel01 text, |
---|
679 | deliv_tel02 text, |
---|
680 | deliv_tel03 text, |
---|
681 | deliv_fax01 text, |
---|
682 | deliv_fax02 text, |
---|
683 | deliv_fax03 text, |
---|
684 | deliv_zip01 text, |
---|
685 | deliv_zip02 text, |
---|
686 | deliv_pref text, |
---|
687 | deliv_addr01 text, |
---|
688 | deliv_addr02 text, |
---|
689 | subtotal numeric, |
---|
690 | discount numeric, |
---|
691 | deliv_fee numeric, |
---|
692 | charge numeric, |
---|
693 | use_point numeric, |
---|
694 | add_point numeric, |
---|
695 | birth_point numeric DEFAULT 0, |
---|
696 | tax numeric, |
---|
697 | total numeric, |
---|
698 | payment_total numeric, |
---|
699 | payment_id int, |
---|
700 | payment_method text, |
---|
701 | deliv_id int, |
---|
702 | deliv_time_id int, |
---|
703 | deliv_time text, |
---|
704 | deliv_no text, |
---|
705 | note text, |
---|
706 | mail_flag smallint, |
---|
707 | status smallint, |
---|
708 | deliv_check smallint, |
---|
709 | point_check smallint, |
---|
710 | loan_result text, |
---|
711 | credit_result text, |
---|
712 | credit_msg text, |
---|
713 | create_date datetime NOT NULL , |
---|
714 | update_date datetime, |
---|
715 | del_flg smallint NOT NULL DEFAULT 0, |
---|
716 | deliv_date text, |
---|
717 | conveni_data text, |
---|
718 | cell01 text, |
---|
719 | cell02 text, |
---|
720 | cell03 text, |
---|
721 | order_id int4, |
---|
722 | memo01 text, |
---|
723 | memo02 text, |
---|
724 | memo03 text, |
---|
725 | memo04 text, |
---|
726 | memo05 text, |
---|
727 | memo06 text, |
---|
728 | memo07 text, |
---|
729 | memo08 text, |
---|
730 | memo09 text, |
---|
731 | memo10 text, |
---|
732 | session text |
---|
733 | ) TYPE=InnoDB ; |
---|
734 | |
---|
735 | CREATE TABLE dtb_other_deliv ( |
---|
736 | other_deliv_id int auto_increment primary key NOT NULL, |
---|
737 | customer_id int NOT NULL, |
---|
738 | name01 text, |
---|
739 | name02 text, |
---|
740 | kana01 text, |
---|
741 | kana02 text, |
---|
742 | zip01 text, |
---|
743 | zip02 text, |
---|
744 | pref text, |
---|
745 | addr01 text, |
---|
746 | addr02 text, |
---|
747 | tel01 text, |
---|
748 | tel02 text, |
---|
749 | tel03 text |
---|
750 | ) TYPE=InnoDB ; |
---|
751 | |
---|
752 | CREATE TABLE dtb_order_detail ( |
---|
753 | order_id int NOT NULL, |
---|
754 | product_id int NOT NULL, |
---|
755 | classcategory_id1 int NOT NULL, |
---|
756 | classcategory_id2 int NOT NULL, |
---|
757 | product_name text NOT NULL, |
---|
758 | product_code text, |
---|
759 | classcategory_name1 text, |
---|
760 | classcategory_name2 text, |
---|
761 | price numeric, |
---|
762 | quantity numeric, |
---|
763 | point_rate numeric |
---|
764 | ) TYPE=InnoDB ; |
---|
765 | |
---|
766 | CREATE TABLE mtb_pref ( |
---|
767 | pref_id smallint NOT NULL, |
---|
768 | pref_name text, |
---|
769 | rank smallint NOT NULL DEFAULT 0 |
---|
770 | ) TYPE=InnoDB ; |
---|
771 | |
---|
772 | CREATE TABLE dtb_member ( |
---|
773 | member_id int auto_increment primary key NOT NULL, |
---|
774 | name text, |
---|
775 | department text, |
---|
776 | login_id text NOT NULL, |
---|
777 | password text NOT NULL, |
---|
778 | authority smallint NOT NULL, |
---|
779 | rank int NOT NULL DEFAULT 0, |
---|
780 | work smallint NOT NULL DEFAULT 1, |
---|
781 | del_flg smallint NOT NULL DEFAULT 0, |
---|
782 | creator_id int NOT NULL, |
---|
783 | update_date datetime, |
---|
784 | create_date datetime NOT NULL , |
---|
785 | login_date datetime |
---|
786 | ) TYPE=InnoDB ; |
---|
787 | |
---|
788 | CREATE TABLE dtb_question ( |
---|
789 | question_id int auto_increment primary key NOT NULL, |
---|
790 | question_name text, |
---|
791 | question text, |
---|
792 | create_date datetime NOT NULL , |
---|
793 | del_flg smallint NOT NULL DEFAULT 0 |
---|
794 | ) TYPE=InnoDB ; |
---|
795 | |
---|
796 | CREATE TABLE dtb_question_result ( |
---|
797 | result_id int auto_increment primary key NOT NULL, |
---|
798 | question_id int NOT NULL, |
---|
799 | question_date datetime, |
---|
800 | question_name text, |
---|
801 | name01 text, |
---|
802 | name02 text, |
---|
803 | kana01 text, |
---|
804 | kana02 text, |
---|
805 | zip01 text, |
---|
806 | zip02 text, |
---|
807 | pref smallint, |
---|
808 | addr01 text, |
---|
809 | addr02 text, |
---|
810 | tel01 text, |
---|
811 | tel02 text, |
---|
812 | tel03 text, |
---|
813 | mail01 text, |
---|
814 | question01 text, |
---|
815 | question02 text, |
---|
816 | question03 text, |
---|
817 | question04 text, |
---|
818 | question05 text, |
---|
819 | question06 text, |
---|
820 | create_date datetime NOT NULL , |
---|
821 | del_flg smallint NOT NULL DEFAULT 0 |
---|
822 | ) TYPE=InnoDB ; |
---|
823 | |
---|
824 | CREATE TABLE dtb_bat_relate_products ( |
---|
825 | product_id int, |
---|
826 | relate_product_id int, |
---|
827 | customer_id int, |
---|
828 | create_date datetime |
---|
829 | ) TYPE=InnoDB ; |
---|
830 | |
---|
831 | CREATE TABLE dtb_campaign ( |
---|
832 | campaign_id int auto_increment primary key NOT NULL, |
---|
833 | campaign_name text, |
---|
834 | campaign_point_rate numeric NOT NULL, |
---|
835 | campaign_point_type smallint, |
---|
836 | start_date datetime NOT NULL, |
---|
837 | end_date datetime NOT NULL, |
---|
838 | directory_name text NOT NULL, |
---|
839 | limit_count int4 NOT NULL DEFAULT 0, |
---|
840 | total_count int4 NOT NULL DEFAULT 0, |
---|
841 | orverlapping_flg int2 NOT NULL DEFAULT 0, |
---|
842 | cart_flg int2 NOT NULL DEFAULT 0, |
---|
843 | deliv_free_flg int2 NOT NULL DEFAULT 0, |
---|
844 | search_condition text, |
---|
845 | del_flg smallint NOT NULL DEFAULT 0, |
---|
846 | create_date datetime NOT NULL, |
---|
847 | update_date datetime NOT NULL |
---|
848 | ) TYPE=InnoDB ; |
---|
849 | |
---|
850 | CREATE TABLE dtb_campaign_detail ( |
---|
851 | campaign_id int NOT NULL, |
---|
852 | product_id int NOT NULL, |
---|
853 | campaign_point_rate numeric NOT NULL |
---|
854 | ) TYPE=InnoDB ; |
---|
855 | |
---|
856 | CREATE TABLE dtb_pagelayout ( |
---|
857 | page_id int auto_increment primary key NOT NULL, |
---|
858 | page_name text, |
---|
859 | url text NOT NULL, |
---|
860 | php_dir text, |
---|
861 | tpl_dir text, |
---|
862 | filename text, |
---|
863 | header_chk smallint DEFAULT 1, |
---|
864 | footer_chk smallint DEFAULT 1, |
---|
865 | edit_flg smallint DEFAULT 1, |
---|
866 | author text, |
---|
867 | description text, |
---|
868 | keyword text, |
---|
869 | update_url text, |
---|
870 | create_date datetime NOT NULL , |
---|
871 | update_date datetime NOT NULL |
---|
872 | ) TYPE=InnoDB ; |
---|
873 | |
---|
874 | CREATE TABLE dtb_bloc ( |
---|
875 | bloc_id int auto_increment primary key NOT NULL, |
---|
876 | bloc_name text, |
---|
877 | tpl_path text, |
---|
878 | filename varchar(50) NOT NULL UNIQUE, |
---|
879 | create_date datetime NOT NULL , |
---|
880 | update_date datetime NOT NULL , |
---|
881 | php_path text, |
---|
882 | del_flg smallint NOT NULL DEFAULT 0 |
---|
883 | ) TYPE=InnoDB ; |
---|
884 | |
---|
885 | CREATE TABLE dtb_blocposition ( |
---|
886 | page_id int NOT NULL, |
---|
887 | target_id int, |
---|
888 | bloc_id int, |
---|
889 | bloc_row int, |
---|
890 | filename text |
---|
891 | ) TYPE=InnoDB ; |
---|
892 | |
---|
893 | CREATE TABLE dtb_csv ( |
---|
894 | no int auto_increment primary key, |
---|
895 | csv_id int NOT NULL, |
---|
896 | col text, |
---|
897 | disp_name text, |
---|
898 | rank int, |
---|
899 | status smallint NOT NULL DEFAULT 1, |
---|
900 | create_date datetime NOT NULL , |
---|
901 | update_date datetime NOT NULL |
---|
902 | ) TYPE=InnoDB ; |
---|
903 | |
---|
904 | CREATE TABLE dtb_csv_sql ( |
---|
905 | sql_id int auto_increment primary key, |
---|
906 | sql_name text NOT NULL, |
---|
907 | csv_sql text, |
---|
908 | update_date datetime NOT NULL, |
---|
909 | create_date datetime NOT NULL |
---|
910 | ) TYPE=InnoDB ; |
---|
911 | |
---|
912 | CREATE TABLE dtb_user_regist ( |
---|
913 | user_id int auto_increment primary key NOT NULL, |
---|
914 | org_name text, |
---|
915 | post_name text, |
---|
916 | name01 text, |
---|
917 | name02 text, |
---|
918 | kana01 text, |
---|
919 | kana02 text, |
---|
920 | email text NOT NULL, |
---|
921 | url text, |
---|
922 | note text, |
---|
923 | secret_key varchar(50) NOT NULL UNIQUE, |
---|
924 | status smallint NOT NULL, |
---|
925 | del_flg smallint DEFAULT 0, |
---|
926 | create_date datetime NOT NULL, |
---|
927 | update_date datetime NOT NULL |
---|
928 | ) TYPE=InnoDB ; |
---|
929 | |
---|
930 | CREATE TABLE dtb_templates |
---|
931 | ( |
---|
932 | template_code varchar(50) NOT NULL UNIQUE , |
---|
933 | template_name text , |
---|
934 | create_date datetime NOT NULL , |
---|
935 | update_date datetime NOT NULL |
---|
936 | ) TYPE=InnoDB ; |
---|
937 | |
---|
938 | CREATE TABLE dtb_table_comment |
---|
939 | ( |
---|
940 | id int auto_increment primary key, |
---|
941 | table_name text, |
---|
942 | column_name text, |
---|
943 | description text |
---|
944 | ) TYPE=InnoDB ; |
---|
945 | |
---|
946 | CREATE TABLE mtb_permission ( |
---|
947 | id text, |
---|
948 | name text, |
---|
949 | rank int2 NOT NULL DEFAULT 0, |
---|
950 | PRIMARY KEY (id(32)) |
---|
951 | ) TYPE=InnoDB; |
---|
952 | |
---|
953 | CREATE TABLE mtb_disable_logout ( |
---|
954 | id int2, |
---|
955 | name text, |
---|
956 | rank int2 NOT NULL DEFAULT 0, |
---|
957 | PRIMARY KEY (id) |
---|
958 | ) TYPE=InnoDB; |
---|
959 | |
---|
960 | CREATE TABLE mtb_authority ( |
---|
961 | id int2, |
---|
962 | name text, |
---|
963 | rank int2 NOT NULL DEFAULT 0, |
---|
964 | PRIMARY KEY (id) |
---|
965 | ) TYPE=InnoDB; |
---|
966 | |
---|
967 | CREATE TABLE mtb_work ( |
---|
968 | id int2, |
---|
969 | name text, |
---|
970 | rank int2 NOT NULL DEFAULT 0, |
---|
971 | PRIMARY KEY (id) |
---|
972 | ) TYPE=InnoDB; |
---|
973 | |
---|
974 | CREATE TABLE mtb_disp ( |
---|
975 | id int2, |
---|
976 | name text, |
---|
977 | rank int2 NOT NULL DEFAULT 0, |
---|
978 | PRIMARY KEY (id) |
---|
979 | ) TYPE=InnoDB; |
---|
980 | |
---|
981 | CREATE TABLE mtb_class ( |
---|
982 | id int2, |
---|
983 | name text, |
---|
984 | rank int2 NOT NULL DEFAULT 0, |
---|
985 | PRIMARY KEY (id) |
---|
986 | ) TYPE=InnoDB; |
---|
987 | |
---|
988 | CREATE TABLE mtb_srank ( |
---|
989 | id int2, |
---|
990 | name text, |
---|
991 | rank int2 NOT NULL DEFAULT 0, |
---|
992 | PRIMARY KEY (id) |
---|
993 | ) TYPE=InnoDB; |
---|
994 | |
---|
995 | CREATE TABLE mtb_status ( |
---|
996 | id int2, |
---|
997 | name text, |
---|
998 | rank int2 NOT NULL DEFAULT 0, |
---|
999 | PRIMARY KEY (id) |
---|
1000 | ) TYPE=InnoDB; |
---|
1001 | |
---|
1002 | CREATE TABLE mtb_status_image ( |
---|
1003 | id int2, |
---|
1004 | name text, |
---|
1005 | rank int2 NOT NULL DEFAULT 0, |
---|
1006 | PRIMARY KEY (id) |
---|
1007 | ) TYPE=InnoDB; |
---|
1008 | |
---|
1009 | CREATE TABLE mtb_allowed_tag ( |
---|
1010 | id int2, |
---|
1011 | name text, |
---|
1012 | rank int2 NOT NULL DEFAULT 0, |
---|
1013 | PRIMARY KEY (id) |
---|
1014 | ) TYPE=InnoDB; |
---|
1015 | |
---|
1016 | CREATE TABLE mtb_page_max ( |
---|
1017 | id int2, |
---|
1018 | name text, |
---|
1019 | rank int2 NOT NULL DEFAULT 0, |
---|
1020 | PRIMARY KEY (id) |
---|
1021 | ) TYPE=InnoDB; |
---|
1022 | |
---|
1023 | CREATE TABLE mtb_magazine_type ( |
---|
1024 | id int2, |
---|
1025 | name text, |
---|
1026 | rank int2 NOT NULL DEFAULT 0, |
---|
1027 | PRIMARY KEY (id) |
---|
1028 | ) TYPE=InnoDB; |
---|
1029 | |
---|
1030 | CREATE TABLE mtb_mail_magazine_type ( |
---|
1031 | id int2, |
---|
1032 | name text, |
---|
1033 | rank int2 NOT NULL DEFAULT 0, |
---|
1034 | PRIMARY KEY (id) |
---|
1035 | ) TYPE=InnoDB; |
---|
1036 | |
---|
1037 | CREATE TABLE mtb_recommend ( |
---|
1038 | id int2, |
---|
1039 | name text, |
---|
1040 | rank int2 NOT NULL DEFAULT 0, |
---|
1041 | PRIMARY KEY (id) |
---|
1042 | ) TYPE=InnoDB; |
---|
1043 | |
---|
1044 | CREATE TABLE mtb_taxrule ( |
---|
1045 | id int2, |
---|
1046 | name text, |
---|
1047 | rank int2 NOT NULL DEFAULT 0, |
---|
1048 | PRIMARY KEY (id) |
---|
1049 | ) TYPE=InnoDB; |
---|
1050 | |
---|
1051 | CREATE TABLE mtb_mail_template ( |
---|
1052 | id int2, |
---|
1053 | name text, |
---|
1054 | rank int2 NOT NULL DEFAULT 0, |
---|
1055 | PRIMARY KEY (id) |
---|
1056 | ) TYPE=InnoDB; |
---|
1057 | |
---|
1058 | CREATE TABLE mtb_mail_tpl_path ( |
---|
1059 | id int2, |
---|
1060 | name text, |
---|
1061 | rank int2 NOT NULL DEFAULT 0, |
---|
1062 | PRIMARY KEY (id) |
---|
1063 | ) TYPE=InnoDB; |
---|
1064 | |
---|
1065 | CREATE TABLE mtb_job ( |
---|
1066 | id int2, |
---|
1067 | name text, |
---|
1068 | rank int2 NOT NULL DEFAULT 0, |
---|
1069 | PRIMARY KEY (id) |
---|
1070 | ) TYPE=InnoDB; |
---|
1071 | |
---|
1072 | CREATE TABLE mtb_reminder ( |
---|
1073 | id int2, |
---|
1074 | name text, |
---|
1075 | rank int2 NOT NULL DEFAULT 0, |
---|
1076 | PRIMARY KEY (id) |
---|
1077 | ) TYPE=InnoDB; |
---|
1078 | |
---|
1079 | CREATE TABLE mtb_sex ( |
---|
1080 | id int2, |
---|
1081 | name text, |
---|
1082 | rank int2 NOT NULL DEFAULT 0, |
---|
1083 | PRIMARY KEY (id) |
---|
1084 | ) TYPE=InnoDB; |
---|
1085 | |
---|
1086 | CREATE TABLE mtb_page_rows ( |
---|
1087 | id int2, |
---|
1088 | name text, |
---|
1089 | rank int2 NOT NULL DEFAULT 0, |
---|
1090 | PRIMARY KEY (id) |
---|
1091 | ) TYPE=InnoDB; |
---|
1092 | |
---|
1093 | CREATE TABLE mtb_mail_type ( |
---|
1094 | id int2, |
---|
1095 | name text, |
---|
1096 | rank int2 NOT NULL DEFAULT 0, |
---|
1097 | PRIMARY KEY (id) |
---|
1098 | ) TYPE=InnoDB; |
---|
1099 | |
---|
1100 | CREATE TABLE mtb_order_status ( |
---|
1101 | id int2, |
---|
1102 | name text, |
---|
1103 | rank int2 NOT NULL DEFAULT 0, |
---|
1104 | PRIMARY KEY (id) |
---|
1105 | ) TYPE=InnoDB; |
---|
1106 | |
---|
1107 | CREATE TABLE mtb_product_status_color ( |
---|
1108 | id int2, |
---|
1109 | name text, |
---|
1110 | rank int2 NOT NULL DEFAULT 0, |
---|
1111 | PRIMARY KEY (id) |
---|
1112 | ) TYPE=InnoDB; |
---|
1113 | |
---|
1114 | CREATE TABLE mtb_order_status_color ( |
---|
1115 | id int2, |
---|
1116 | name text, |
---|
1117 | rank int2 NOT NULL DEFAULT 0, |
---|
1118 | PRIMARY KEY (id) |
---|
1119 | ) TYPE=InnoDB; |
---|
1120 | |
---|
1121 | CREATE TABLE mtb_wday ( |
---|
1122 | id int2, |
---|
1123 | name text, |
---|
1124 | rank int2 NOT NULL DEFAULT 0, |
---|
1125 | PRIMARY KEY (id) |
---|
1126 | ) TYPE=InnoDB; |
---|
1127 | |
---|
1128 | CREATE TABLE mtb_delivery_date ( |
---|
1129 | id int2, |
---|
1130 | name text, |
---|
1131 | rank int2 NOT NULL DEFAULT 0, |
---|
1132 | PRIMARY KEY (id) |
---|
1133 | ) TYPE=InnoDB; |
---|
1134 | |
---|
1135 | CREATE TABLE mtb_product_list_max ( |
---|
1136 | id int2, |
---|
1137 | name text, |
---|
1138 | rank int2 NOT NULL DEFAULT 0, |
---|
1139 | PRIMARY KEY (id) |
---|
1140 | ) TYPE=InnoDB; |
---|
1141 | |
---|
1142 | CREATE TABLE mtb_convenience ( |
---|
1143 | id int2, |
---|
1144 | name text, |
---|
1145 | rank int2 NOT NULL DEFAULT 0, |
---|
1146 | PRIMARY KEY (id) |
---|
1147 | ) TYPE=InnoDB; |
---|
1148 | |
---|
1149 | CREATE TABLE mtb_conveni_message ( |
---|
1150 | id int2, |
---|
1151 | name text, |
---|
1152 | rank int2 NOT NULL DEFAULT 0, |
---|
1153 | PRIMARY KEY (id) |
---|
1154 | ) TYPE=InnoDB; |
---|
1155 | |
---|
1156 | CREATE TABLE mtb_db ( |
---|
1157 | id int2, |
---|
1158 | name text, |
---|
1159 | rank int2 NOT NULL DEFAULT 0, |
---|
1160 | PRIMARY KEY (id) |
---|
1161 | ) TYPE=InnoDB; |
---|
1162 | |
---|
1163 | CREATE TABLE mtb_target ( |
---|
1164 | id int2, |
---|
1165 | name text, |
---|
1166 | rank int2 NOT NULL DEFAULT 0, |
---|
1167 | PRIMARY KEY (id) |
---|
1168 | ) TYPE=InnoDB; |
---|
1169 | |
---|
1170 | CREATE TABLE mtb_review_deny_url ( |
---|
1171 | id int2, |
---|
1172 | name text, |
---|
1173 | rank int2 NOT NULL DEFAULT 0, |
---|
1174 | PRIMARY KEY (id) |
---|
1175 | ) TYPE=InnoDB; |
---|
1176 | |
---|
1177 | CREATE TABLE mtb_track_back_status ( |
---|
1178 | id int2, |
---|
1179 | name text, |
---|
1180 | rank int2 NOT NULL DEFAULT 0, |
---|
1181 | PRIMARY KEY (id) |
---|
1182 | ) TYPE=InnoDB; |
---|
1183 | |
---|
1184 | CREATE TABLE mtb_site_control_track_back ( |
---|
1185 | id int2, |
---|
1186 | name text, |
---|
1187 | rank int2 NOT NULL DEFAULT 0, |
---|
1188 | PRIMARY KEY (id) |
---|
1189 | ) TYPE=InnoDB; |
---|
1190 | |
---|
1191 | CREATE TABLE mtb_site_control_affiliate ( |
---|
1192 | id int2, |
---|
1193 | name text, |
---|
1194 | rank int2 NOT NULL DEFAULT 0, |
---|
1195 | PRIMARY KEY (id) |
---|
1196 | ) TYPE=InnoDB; |
---|
1197 | |
---|
1198 | CREATE TABLE mtb_mobile_domain ( |
---|
1199 | id int2, |
---|
1200 | name text, |
---|
1201 | rank int2 NOT NULL DEFAULT 0, |
---|
1202 | PRIMARY KEY (id) |
---|
1203 | ) TYPE=InnoDB; |
---|
1204 | |
---|
1205 | CREATE TABLE mtb_ownersstore_err ( |
---|
1206 | id int2, |
---|
1207 | name text, |
---|
1208 | rank int2 NOT NULL DEFAULT 0, |
---|
1209 | PRIMARY KEY (id) |
---|
1210 | ) TYPE=InnoDB; |
---|
1211 | |
---|
1212 | CREATE TABLE mtb_ownersstore_ips ( |
---|
1213 | id int2, |
---|
1214 | name text, |
---|
1215 | rank int2 NOT NULL DEFAULT 0, |
---|
1216 | PRIMARY KEY (id) |
---|
1217 | ) TYPE=InnoDB; |
---|
1218 | |
---|
1219 | CREATE TABLE mtb_constants ( |
---|
1220 | id text, |
---|
1221 | name text, |
---|
1222 | rank int2 NOT NULL DEFAULT 0, |
---|
1223 | remarks text |
---|
1224 | ) TYPE=InnoDB; |
---|