Newer
Older
<?xml version="1.0"?>
<schema version="0.2">
<table name="vtiger_users">
<field name="id" type="I" >
<key />
<autoincrement />
</field>
<field name="user_name" type="C" size="255" />
<field name="user_password" type="C" size="200" />
<field name="cal_color" type="C" size="25">
<default value="#E6FAD8" />
</field>
<field name="first_name" type="C" size="30" />
<field name="last_name" type="C" size="30" />
<field name="reports_to_id" type="C" size="36" />
<field name="is_admin" type="C" size="3">
<default value="0" />
</field>
<field name="currency_id" type="I" size="19">
<default value="1" />
<notnull />
</field>
<field name="description" type="X" />
<field name="date_entered" type="T">
<notnull />
<deftimestamp />
</field>
<field name="date_modified" type="T">
<!-- Troublesome with STRICT_TRANS_TABLE mode depends on MySQL 5.5 or 5.6+ -->
<!--
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
</field>
<field name="modified_user_id" type="C" size="36" />
<field name="title" type="C" size="50" />
<field name="department" type="C" size="50" />
<field name="phone_home" type="C" size="50" />
<field name="phone_mobile" type="C" size="50" />
<field name="phone_work" type="C" size="50" />
<field name="phone_other" type="C" size="50" />
<field name="phone_fax" type="C" size="50" />
<field name="email1" type="C" size="100" />
<field name="email2" type="C" size="100" />
<field name="secondaryemail" type="C" size="100" />
<field name="status" type="C" size="25" />
<field name="signature" type="C" size="1000" />
<field name="address_street" type="C" size="150" />
<field name="address_city" type="C" size="100" />
<field name="address_state" type="C" size="100" />
<field name="address_country" type="C" size="25" />
<field name="address_postalcode" type="C" size="9" />
<field name="user_preferences" type="X" />
<field name="tz" type="C" size="30" />
<field name="holidays" type="C" size="60" />
<field name="namedays" type="C" size="60" />
<field name="workdays" type="C" size="30" />
<field name="weekstart" type="I" size="11" />
<field name="date_format" type="C" size="200" />
<field name="hour_format" type="C" size="30">
<default value="am/pm" />
</field>
<field name="start_hour" type="C" size="30">
<default value="10:00" />
</field>
<field name="end_hour" type="C" size="30">
<default value="23:00" />
</field>
<field name="is_owner" type="C" size="100">
<default value="0" />
</field>
<field name="activity_view" type="C" size="200">
<default value="Today" />
</field>
<field name="lead_view" type="C" size="200">
<default value="Today" />
</field>
<field name="imagename" type="C" size="250" />
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="confirm_password" type="C" size="300" />
<field name="internal_mailer" type="C" size="3">
<notnull />
<default value="1" />
</field>
<field name="reminder_interval" type="C" size="100" />
<field name="reminder_next_time" type="C" size="100" />
<field name="crypt_type" type="C" size="20">
<notnull />
<default value="MD5" />
</field>
<field name="accesskey" type="C" size="36" />
<field name="theme" type="C" size="100" />
<field name="language" type="C" size="36" />
<field name="time_zone" type="C" size="200" />
<field name="currency_grouping_pattern" type="C" size="100" />
<field name="currency_decimal_separator" type="C" size="2" />
<field name="currency_grouping_separator" type="C" size="2" />
<field name="currency_symbol_placement" type="C" size="20" />
<field name="userlabel" type="C" size="255" />
<field name="defaultlandingpage" type="C" size="200" />
<index name="user_user_name_idx">
<col>user_name</col>
</index>
<index name="user_user_password_idx">
<col>user_password</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
</table>
<table name="vtiger_crmentity">
<field name="crmid" type="I" size="19">
<key />
</field>
<field name="smcreatorid" type="I" size="19">
<notnull/>
<default value="0" />
</field>
<field name="smownerid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="modifiedby" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="setype" type="C" size="30">
<notnull />
</field>
<field name="description" type="X" />
<field name="createdtime" type="T">
<notnull />
</field>
<field name="modifiedtime" type="T">
<notnull />
</field>
<field name="viewedtime" type="T" />
<field name="status" type="C" size="50" />
<field name="version" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="presence" type="I" size="1">
<default value="1" />
</field>
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="smgroupid" type="I" size="19" />
<index name="crmentity_smcreatorid_idx">
<col>smcreatorid</col>
</index>
<index name="crmentity_modifiedby_idx">
<col>modifiedby</col>
</index>
<index name="crmentity_deleted_idx">
<col>deleted</col>
</index>
<index name="crm_ownerid_del_setype_idx">
<col>smownerid</col>
<col>deleted</col>
<col>setype</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_sharedcalendar">
<field name="userid" type="I" size="19">
<key />
</field>
<field name="sharedid" type="I" size="19">
<key />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_tab">
<field name="tabid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="name" type="C" size="25">
<notnull />
</field>
<field name="presence" type="I" size="19">
<notnull />
<default value="1" />
</field>
<field name="tabsequence" type="I" size="10" />
<field name="tablabel" type="C" size="25">
<notnull />
</field>
<field name="modifiedby" type="I" size="19" />
<field name="modifiedtime" type="I" size="19" />
<field name="customized" type="I" size="19" />
<field name="ownedby" type="I" size="19" />
<field name="isentitytype" type="I">
<notnull />
<default value="1" />
</field>
<notnull />
<default value="0" />
</field>
<field name="version" type="C" size="10" />
<field name="parent" type="C" size="30"/>
<field name="source" type="C" size="255">
<default value="custom" />
</field>
<index name="tab_name_idx">
<col>name</col>
<unique />
</index>
<index name="tab_modifiedby_idx">
<col>modifiedby</col>
</index>
<index name="tab_tabid_idx">
<col>tabid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
</table>
<table name="vtiger_blocks">
<field name="blockid" type="I" size="19">
<key />
<notnull />
</field>
<field name="tabid" type="I" size="19">
<notnull />
</field>
<field name="blocklabel" type="C" size="100">
<notnull />
</field>
<field name="sequence" type="I" size="10" />
<field name="show_title" type="I" size="2" />
<field name="visible" type="I" size="2">
<notnull />
<default value="0" />
</field>
<field name="create_view" type="I" size="2">
<notnull />
<default value="0" />
</field>
<field name="edit_view" type="I" size="2">
<notnull />
<default value="0" />
</field>
<field name="detail_view" type="I" size="2">
<notnull />
<default value="0" />
</field>
<field name="display_status" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="iscustom" type="I" size="1">
<notnull />
<default value="0" />
</field>
<index name="block_tabid_idx">
<col>tabid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_blocks" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_blocks FOREIGN KEY (tabid) REFERENCES vtiger_tab(tabid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<data>
</data>
</table>
<table name="vtiger_field">
<field name="tabid" type="I" size="19">
<notnull />
</field>
<field name="fieldid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="columnname" type="C" size="30">
<notnull />
</field>
<field name="tablename" type="C" size="50">
<notnull />
</field>
<field name="generatedtype" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="uitype" type="C" size="30">
<notnull />
</field>
<field name="fieldname" type="C" size="50">
<notnull />
</field>
<field name="fieldlabel" type="C" size="50">
<notnull />
</field>
<field name="readonly" type="I" size="1">
<notnull />
</field>
<field name="presence" type="I" size="19">
<notnull />
<default value="1" />
</field>
<field name="defaultvalue" type="X">
</field>
<field name="maximumlength" type="I" size="19" />
<field name="sequence" type="I" size="19" />
<field name="block" type="I" size="19" />
<field name="displaytype" type="I" size="19" />
<field name="typeofdata" type="C" size="100" />
<field name="quickcreate" type="I" size="10">
<notnull />
<default value="1" />
</field>
<field name="quickcreatesequence" type="I" size="19" />
<field name="info_type" type="C" size="20" />
<field name="masseditable" type="I" size="10">
<notnull />
<default value="1" />
</field>
<index name="field_tabid_idx">
<col>tabid</col>
</index>
<index name="field_fieldname_idx">
<col>fieldname</col>
</index>
<index name="field_block_idx">
<col>block</col>
</index>
<index name="field_displaytype_idx">
<col>displaytype</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_field" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_field FOREIGN KEY (tabid) REFERENCES vtiger_tab(tabid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<data>
</data>
</table>
<table name="vtiger_account">
<field name="accountid" type="I" size="19">
<key />
<notnull />
<default value="0" />
</field>
<field name="account_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="accountname" type="C" size="100">
<unique />
<notnull />
</field>
<field name="parentid" type="I" size="19">
<default value="0" />
</field>
<field name="account_type" type="C" size="200" />
<field name="industry" type="C" size="200" />
<field name="annualrevenue" type="I" size="19">
<default value="0" />
</field>
<field name="rating" type="C" size="200" />
<field name="ownership" type="C" size="50" />
<field name="siccode" type="C" size="50" />
<field name="tickersymbol" type="C" size="30" />
<field name="phone" type="C" size="30" />
<field name="otherphone" type="C" size="30" />
<field name="email1" type="C" size="100" />
<field name="email2" type="C" size="100" />
<field name="website" type="C" size="100" />
<field name="fax" type="C" size="30" />
<field name="employees" type="I" size="10">
<default value="0" />
</field>
<field name="emailoptout" type="C" size="3">
<default value="0" />
</field>
<field name="notify_owner" type="C" size="3">
<default value="0" />
</field>
<index name="account_account_type_idx">
<col>account_type</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_account" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_account FOREIGN KEY (accountid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_accountbillads">
<field name="accountaddressid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="bill_city" type="C" size="30" />
<field name="bill_code" type="C" size="30" />
<field name="bill_country" type="C" size="30" />
<field name="bill_state" type="C" size="30" />
<field name="bill_street" type="C" size="250" />
<field name="bill_pobox" type="C" size="30" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_accountbillads" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_accountbillads FOREIGN KEY (accountaddressid) REFERENCES vtiger_account(accountid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_accountshipads">
<field name="accountaddressid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="ship_city" type="C" size="30" />
<field name="ship_code" type="C" size="30" />
<field name="ship_country" type="C" size="30" />
<field name="ship_state" type="C" size="30" />
<field name="ship_pobox" type="C" size="30" />
<field name="ship_street" type="C" size="250" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_accountshipads" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_accountshipads FOREIGN KEY (accountaddressid) REFERENCES vtiger_account(accountid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_accountscf">
<field name="accountid" type="I" size="19">
<key />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_accountscf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_accountscf FOREIGN KEY (accountid) REFERENCES vtiger_account(accountid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
<data>
</data>
</table>
<table name="vtiger_contactdetails">
<field name="contactid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="contact_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="accountid" type="I" size="19" />
<field name="salutation" type="C" size="200">
</field>
<field name="firstname" type="C" size="40" />
<field name="lastname" type="C" size="80">
<notnull />
</field>
<field name="email" type="C" size="100" />
<field name="phone" type="C" size="50" />
<field name="mobile" type="C" size="50" />
<field name="title" type="C" size="50" />
<field name="department" type="C" size="30" />
<field name="fax" type="C" size="50" />
<field name="reportsto" type="C" size="30" />
<field name="training" type="C" size="50" />
<field name="usertype" type="C" size="50" />
<field name="contacttype" type="C" size="50" />
<field name="otheremail" type="C" size="100" />
<field name="secondaryemail" type="C" size="100" />
<field name="donotcall" type="C" size="3" />
<field name="emailoptout" type="C" size="3">
<default value="0" />
</field>
<field name="imagename" type="C" size="150" />
<field name="reference" type="C" size="3" />
<field name="notify_owner" type="C" size="3">
<default value="0"/>
</field>
<index name="contactdetails_accountid_idx">
<col>accountid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_contactdetails" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_contactdetails FOREIGN KEY (contactid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_contactsubdetails">
<field name="contactsubscriptionid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="homephone" type="C" size="50" />
<field name="otherphone" type="C" size="50" />
<field name="assistant" type="C" size="30" />
<field name="assistantphone" type="C" size="50" />
<field name="birthday" type="D" />
<field name="laststayintouchrequest" type="I" size="30">
<default value="0" />
</field>
<field name="laststayintouchsavedate" type="I" size="19">
<default value="0" />
</field>
<field name="leadsource" type="C" size="200" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_contactsubdetails" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_contactsubdetails FOREIGN KEY (contactsubscriptionid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_contactaddress">
<field name="contactaddressid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="mailingcity" type="C" size="40" />
<field name="mailingstreet" type="C" size="250" />
<field name="mailingcountry" type="C" size="40" />
<field name="othercountry" type="C" size="30" />
<field name="mailingstate" type="C" size="30" />
<field name="mailingpobox" type="C" size="30" />
<field name="othercity" type="C" size="40" />
<field name="otherstate" type="C" size="50" />
<field name="mailingzip" type="C" size="30" />
<field name="otherzip" type="C" size="30" />
<field name="otherstreet" type="C" size="250" />
<field name="otherpobox" type="C" size="30" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_contactaddress" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_contactaddress FOREIGN KEY (contactaddressid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_contactscf">
<field name="contactid" type="I" size="19">
<key />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_contactscf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_contactscf FOREIGN KEY (contactid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_portalinfo">
<field name="id" type="I" size="11">
<key />
</field>
<field name="user_name" type="C" size="50" />
<field name="user_password" type="C" size="255" />
<field name="cryptmode" type="C" size="20" />
<field name="last_login_time" type="T" />
<field name="login_time" type="T" />
<field name="logout_time" type="T" />
<field name="isactive" type="I" size="1" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_portalinfo" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_portalinfo FOREIGN KEY (id) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_customerdetails">
<field name="customerid" type="I" size="19">
<key />
</field>
<field name="portal" type="C" size="3" />
<field name="support_start_date" type="D" />
<field name="support_end_date" type="D" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_customerdetails" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_customerdetails FOREIGN KEY (customerid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
<data>
</data>
</table>
<table name="vtiger_leaddetails">
<field name="leadid" type="I" size="19">
<key />
</field>
<field name="lead_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="email" type="C" size="100" />
<field name="interest" type="C" size="50" />
<field name="firstname" type="C" size="40" />
<field name="salutation" type="C" size="200" />
<field name="lastname" type="C" size="80">
<notnull />
</field>
<field name="company" type="C" size="100">
<notnull />
</field>
<field name="annualrevenue" type="I" size="19">
<default value="0" />
</field>
<field name="industry" type="C" size="200" />
<field name="campaign" type="C" size="30" />
<field name="rating" type="C" size="200" />
<field name="leadstatus" type="C" size="50" />
<field name="leadsource" type="C" size="200" />
<field name="converted" type="I" size="1">
<default value="0" />
</field>
<field name="designation" type="C" size="50">
<default value="SalesMan" />
</field>
<field name="licencekeystatus" type="C" size="50" />
<field name="space" type="C" size="250" />
<field name="comments" type="X" />
<field name="priority" type="C" size="50" />
<field name="demorequest" type="C" size="50" />
<field name="partnercontact" type="C" size="50" />
<field name="productversion" type="C" size="20" />
<field name="product" type="C" size="50" />
<field name="maildate" type="D" />
<field name="nextstepdate" type="D" />
<field name="fundingsituation" type="C" size="50" />
<field name="purpose" type="C" size="50" />
<field name="evaluationstatus" type="C" size="50" />
<field name="transferdate" type="D" />
<field name="revenuetype" type="C" size="50" />
<field name="noofemployees" type="I" size="50" />
<field name="secondaryemail" type="C" size="100" />
<field name="assignleadchk" type="I" size="1">
<default value="0" />
</field>
<index name="leaddetails_converted_leadstatus_idx">
<col>converted</col>
<col>leadstatus</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_leaddetails" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_leaddetails FOREIGN KEY (leadid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_leadsubdetails">
<field name="leadsubscriptionid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="website" type="C" size="255" />
<field name="callornot" type="I" size="1">
<default value="0" />
</field>
<field name="readornot" type="I" size="1">
<default value="0" />
</field>
<field name="empct" type="I" size="10">
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_leadsubdetails" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_leadsubdetails FOREIGN KEY (leadsubscriptionid) REFERENCES vtiger_leaddetails(leadid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_leadaddress">
<field name="leadaddressid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="city" type="C" size="30" />
<field name="code" type="C" size="30" />
<field name="state" type="C" size="30" />
<field name="pobox" type="C" size="30" />
<field name="country" type="C" size="30" />
<field name="phone" type="C" size="50" />
<field name="mobile" type="C" size="50" />
<field name="fax" type="C" size="50" />
<field name="lane" type="C" size="250" />
<field name="leadaddresstype" type="C" size="30">
<default value="Billing" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_leadaddress" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_leadaddress FOREIGN KEY (leadaddressid) REFERENCES vtiger_leaddetails(leadid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_leadscf">
<field name="leadid" type="I" size="19">
<key />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_leadscf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_leadscf FOREIGN KEY (leadid) REFERENCES vtiger_leaddetails(leadid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
<data>
</data>
</table>
<table name="vtiger_notes">
<field name="notesid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="note_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="title" type="C" size="50">
<notnull />
</field>
<field name="filename" type="C" size="200" />
<field name="notecontent" type="X" />
<field name="folderid" type="I" size="19">
<default value="1" />
<notnull />
</field>
<field name="filetype" type="C" size="50">
<default value="NULL" />
</field>
<field name="filelocationtype" type="C" size="5">
<default value="NULL" />
</field>
<field name="filedownloadcount" type="I" size="19">
<default value="NULL" />
</field>
<field name="filestatus" type="I" size="19">
<default value="NULL" />
</field>
<field name="filesize" type="I" size="19">
<default value="0" />
<notnull />
</field>
<field name="fileversion" type="C" size="50">
<default value="NULL" />
</field>
<index name="notes_title_idx">
<col>title</col>
</index>
<index name="notes_notesid_idx">
<col>notesid</col>
</index>
<index name="notes_crmid_idx">
<col>crmid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_notes" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_notes FOREIGN KEY (notesid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
<data>
</data>
</table>
<table name="vtiger_potential">
<field name="potentialid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="potential_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="related_to" type="I" size="19" />
<field name="potentialname" type="C" size="120">
<notnull />
</field>
<field name="amount" type="N" size="14.2">
<default value="0" />
</field>
<field name="currency" type="C" size="20" />
<field name="closingdate" type="D" />
<field name="typeofrevenue" type="C" size="50" />
<field name="nextstep" type="C" size="100" />
<field name="private" type="I" size="1">
<default value="0" />
</field>
<field name="probability" type="N" size="7.3">
<default value="0" />
</field>
<field name="campaignid" type="I" size="19" />
<field name="sales_stage" type="C" size="200" />
<field name="potentialtype" type="C" size="200" />
<field name="leadsource" type="C" size="200" />
<field name="productid" type="I" size="50" />
<field name="productversion" type="C" size="50" />
<field name="quotationref" type="C" size="50" />
<field name="partnercontact" type="C" size="50" />
<field name="remarks" type="C" size="50" />
<field name="runtimefee" type="I" size="19">
<default value="0" />
</field>
<field name="followupdate" type="D" />
<field name="evaluationstatus" type="C" size="50" />
<field name="description" type="X" />
<field name="forecastcategory" type="I" size="19">
<default value="0" />
</field>
<field name="outcomeanalysis" type="I" size="19">
<default value="0" />
</field>
<index name="potential_relatedto_idx">
<col>related_to</col>
</index>
<index name="potentail_sales_stage_idx">
<col>sales_stage</col>
</index>
<index name="potentail_sales_stage_amount_idx">
<col>amount</col>
<col>sales_stage</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_potential" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_potential FOREIGN KEY (potentialid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_potstagehistory">
<field name="historyid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="potentialid" type="I" size="19">
<notnull />
</field>
<field name="amount" type="N" />
<field name="stage" type="C" size="100" />
<field name="probability" type="N" size="7.3" />
<field name="expectedrevenue" type="N" />
<field name="closedate" type="D" />
<field name="lastmodified" type="T" />
<index name="potstagehistory_potentialid_idx">
<col>potentialid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_potstagehistory" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_potstagehistory FOREIGN KEY (potentialid) REFERENCES vtiger_potential(potentialid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_potentialscf">
<field name="potentialid" type="I" size="19">
<key />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_potentialscf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_potentialscf FOREIGN KEY (potentialid) REFERENCES vtiger_potential(potentialid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
<data>
</data>
</table>
<table name="vtiger_activity">
<field name="activityid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="subject" type="C" size="100">
<notnull />
</field>
<field name="semodule" type="C" size="20" />
<field name="activitytype" type="C" size="200">
<notnull />
</field>
<field name="date_start" type="D">
<notnull />
</field>
<field name="due_date" type="D" />
<field name="time_start" type="C" size="50" />
<field name="time_end" type="C" size="50" />
<field name="sendnotification" type="C" size="3">
<notnull />
<default value="0"/>
</field>
<field name="duration_hours" type="C" size="200" />
<field name="duration_minutes" type="C" size="200" />
<field name="status" type="C" size="200" />
<field name="eventstatus" type="C" size="200" />
<field name="priority" type="C" size="200" />
<field name="location" type="C" size="150" />
<field name="notime" type="C" size="3">
<notnull />
<default value="0" />
</field>
<field name="visibility" type="C" size="50">
<notnull />
<default value="all" />
</field>
<field name="recurringtype" type="C" size="200" />
<index name="activity_activityid_subject_idx">
<col>activityid</col>
<col>subject</col>
</index>
<index name="activity_activitytype_date_start_idx">
<col>activitytype</col>
<col>date_start</col>
</index>
<index name="activity_date_start_due_date_idx">
<col>date_start</col>
<col>due_date</col>
</index>
<index name="activity_date_start_time_start_idx">
<col>date_start</col>
<col>time_start</col>
</index>
<index name="activity_eventstatus_idx">
<col>eventstatus</col>
</index>
<index name="activity_status_idx">
<col>status</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_activity" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_activity FOREIGN KEY (activityid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_attachments">
<field name="attachmentsid" type="I" size="19">
<key />
</field>
<field name="name" type="C" size="255">
<notnull />
</field>
<field name="description" type="X" />
<field name="type" type="C" size="100" />
<field name="path" type="X" />
<field name="storedname" type="C" size="255" />
<field name="subject" type="C" size="255" />
<index name="attachments_attachmentsid_idx">
<col>attachmentsid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_attachments" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_attachments FOREIGN KEY (attachmentsid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
<data>
</data>
</table>
<table name="vtiger_seattachmentsrel">
<field name="crmid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="attachmentsid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="seattachmentsrel_attachmentsid_idx">
<col>attachmentsid</col>
</index>
<index name="seattachmentsrel_crmid_idx">
<col>crmid</col>
</index>
<index name="seattachmentsrel_attachmentsid_crmid_idx">
<col>attachmentsid</col>
<col>crmid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_seattachmentsrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_seattachmentsrel FOREIGN KEY (attachmentsid) REFERENCES vtiger_attachments(attachmentsid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_seattachmentsrel FOREIGN KEY (crmid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_tracker">
<field name="id" type="I" size="11">
<key />
<autoincrement />
</field>
<field name="user_id" type="C" size="36" />
<field name="module_name" type="C" size="25" />
<field name="item_id" type="C" size="36" />
<field name="item_summary" type="C" size="255" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
</table>
<table name="vtiger_vendor">
<field name="vendorid" type="I" size="19">
<key />
<notnull />
<default value="0" />
</field>
<field name="vendor_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="vendorname" type="C" size="100" />
<field name="phone" type="C" size="100" />
<field name="email" type="C" size="100" />
<field name="website" type="C" size="100" />
<field name="glacct" type="C" size="200" />
<field name="category" type="C" size="50" />
<field name="street" type="X" />
<field name="city" type="C" size="30" />
<field name="state" type="C" size="30" />
<field name="pobox" type="C" size="30" />
<field name="postalcode" type="C" size="100" />
<field name="country" type="C" size="100" />
<field name="description" type="X" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_vendor" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_vendor FOREIGN KEY (vendorid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_products">
<field name="productid" type="I" size="11">
<key />
</field>
<field name="product_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="productname" type="C" size="255">
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
<notnull />
</field>
<field name="productcode" type="C" size="40" />
<field name="productcategory" type="C" size="200" />
<field name="manufacturer" type="C" size="200" />
<field name="qty_per_unit" type="N" size="11.2">
<default value="0" />
</field>
<field name="unit_price" type="N" size="25.2" />
<field name="weight" type="N" size="11.3" />
<field name="pack_size" type="I" size="11" />
<field name="sales_start_date" type="D" />
<field name="sales_end_date" type="D" />
<field name="start_date" type="D" />
<field name="expiry_date" type="D" />
<field name="cost_factor" type="I" size="11" />
<field name="commissionrate" type="N" size="7.3" />
<field name="commissionmethod" type="C" size="50" />
<field name="discontinued" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="usageunit" type="C" size="200" />
<field name="reorderlevel" type="I" size="11" />
<field name="website" type="C" size="100" />
<field name="taxclass" type="C" size="200" />
<field name="mfr_part_no" type="C" size="200" />
<field name="vendor_part_no" type="C" size="200" />
<field name="serialno" type="C" size="200" />
<field name="qtyinstock" type="N" size="25.3" />
<field name="productsheet" type="C" size="200" />
<field name="qtyindemand" type="I" size="11" />
<field name="glacct" type="C" size="200" />
<field name="vendor_id" type="I" size="11" />
<field name="imagename" type="X" />
<field name="currency_id" type="I" size="19">
<notnull />
<default value="1" />
</field>
<field name="is_subproducts_viewable" type="I" size="1">
<default value="1" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_products" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_products FOREIGN KEY (productid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
<data>
</data>
</table>
<table name="vtiger_currency">
<field name="currencyid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="currency" type="C" size="200">
<notnull />
</field>
<field name="sortorderid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1" />
</field>
<index name="currency_currency_idx">
<unique />
<col>currency</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
</table>
<table name="vtiger_visibility">
<field name="visibilityid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="visibility" type="C" size="200">
<notnull />
</field>
<field name="sortorderid" type="I" size="19">
<notnull />
<default value="0"/>
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1"/>
</field>
<index name="visibility_visibility_idx">
<col>visibility</col>
<unique />
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
</table>
<table name="vtiger_manufacturer">
<field name="manufacturerid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="manufacturer" type="C" size="200">
<notnull />
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="picklist_valueid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="sortorderid" type="I" size="11"></field>
<index name="manufacturer_manufacturer_idx">
<unique />
<col>manufacturer</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_role">
<field name="roleid" type="C" size="255">
<key />
</field>
<field name="rolename" type="C" size="200" />
<field name="parentrole" type="C" size="255" />
<field name="depth" type="I" size="19" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_user2role">
<field name="userid" type="I" size="11">
<key />
</field>
<field name="roleid" type="C" size="255">
<notnull />
</field>
<index name="user2role_roleid_idx">
<col>roleid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_user2role" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_user2role FOREIGN KEY (roleid) REFERENCES vtiger_role(roleid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_user2role FOREIGN KEY (userid) REFERENCES vtiger_users(id) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_groups">
<field name="groupid" type="I" size="19">
<key />
</field>
<field name="groupname" type="C" size="100" />
<field name="description" type="X" />
<index name="groups_groupname_idx">
<col>groupname</col>
<unique />
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_users2group">
<field name="groupid" type="I" size="19">
<key />
</field>
<field name="userid" type="I" size="19">
<key />
</field>
<index name="users2group_groupname_uerid_idx">
<col>groupid</col>
<col>userid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_users2group" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_users2group FOREIGN KEY (groupid) REFERENCES vtiger_groups(groupid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_users2group FOREIGN KEY (userid) REFERENCES vtiger_users(id) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_group2grouprel">
<field name="groupid" type="I" size="19">
<key />
</field>
<field name="containsgroupid" type="I" size="19">
<key />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_group2grouprel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_group2grouprel FOREIGN KEY (containsgroupid) REFERENCES vtiger_groups(groupid) ON DELETE CASCADE ON UPDATE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_group2grouprel FOREIGN KEY (groupid) REFERENCES vtiger_groups(groupid) ON DELETE CASCADE ON UPDATE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_group2role">
<field name="groupid" type="I" size="19">
<key />
</field>
<field name="roleid" type="C" size="255">
<key />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_group2role" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_group2role FOREIGN KEY (groupid) REFERENCES vtiger_groups(groupid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_group2role FOREIGN KEY (roleid) REFERENCES vtiger_role(roleid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_group2rs">
<field name="groupid" type="I" size="19">
<key />
</field>
<field name="roleandsubid" type="C" size="255">
<key />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_group2rs" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_group2rs FOREIGN KEY (groupid) REFERENCES vtiger_groups(groupid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_group2rs FOREIGN KEY (roleandsubid) REFERENCES vtiger_role(roleid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
<data>
</data>
</table>
<table name="vtiger_campaign">
<field name="campaign_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="campaignname" type="C" size="255" />
<field name="campaigntype" type="C" size="200" />
<field name="campaignstatus" type="C" size="200" />
<field name="expectedrevenue" type="N" size="25.3" />
<field name="budgetcost" type="N" size="25.3" />
<field name="actualcost" type="N" size="25.3" />
<field name="expectedresponse" type="C" size="200" />
<field name="numsent" type="N" size="11.0" />
<field name="product_id" type="I" size="19" />
<field name="sponsor" type="C" size="255" />
<field name="targetaudience" type="C" size="255" />
<field name="targetsize" type="I" size="19" />
<field name="expectedresponsecount" type="I" size="19" />
<field name="expectedsalescount" type="I" size="19" />
<field name="expectedroi" type="N" size="25.3" />
<field name="actualresponsecount" type="I" size="19" />
<field name="actualsalescount" type="I" size="19" />
<field name="actualroi" type="N" size="25.3" />
<field name="campaignid" type="I" size="19">
<key />
</field>
<field name="closingdate" type="D" />
<index name="campaign_campaignstatus_idx">
<col>campaignstatus</col>
</index>
<index name="campaign_campaignname_idx">
<col>campaignname</col>
</index>
<index name="campaign_campaignid_idx">
<col>campaignid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_campaignscf">
<field name="campaignid" type="I" size="19">
<key />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_campaignscf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_campaignscf FOREIGN KEY (campaignid) REFERENCES vtiger_campaign(campaignid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
<data>
</data>
</table>
<table name="vtiger_campaigncontrel">
<field name="campaignid" type="I" size="19">
<key />
<default value="0"/>
</field>
<field name="contactid" type="I" size="19">
<key />
<notnull />
<default value="0"/>
</field>
<field name="campaignrelstatusid" type="I" size="19">
<key />
<notnull />
<default value="0"/>
</field>
<index name="campaigncontrel_contractid_idx">
<col>contactid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_campaigncontrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_campaigncontrel FOREIGN KEY (campaignid) REFERENCES vtiger_campaign(campaignid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_campaigncontrel FOREIGN KEY (contactid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
<data>
</data>
</table>
<table name="vtiger_campaignleadrel">
<field name="campaignid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="leadid" type="I" size="19">
<key />
<notnull />
<default value="0" />
</field>
<field name="campaignrelstatusid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="campaignleadrel_leadid_campaignid_idx">
<col>leadid</col>
<col>campaignid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_campaignleadrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_campaignleadrel FOREIGN KEY (campaignid) REFERENCES vtiger_campaign(campaignid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_campaignleadrel FOREIGN KEY (leadid) REFERENCES vtiger_leaddetails(leadid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
<data>
</data>
</table>
<table name="vtiger_contpotentialrel">
<field name="contactid" type="I" size="19">
<key />
<notnull />
<default value="0" />
</field>
<field name="potentialid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="contpotentialrel_potentialid_idx">
<col>potentialid</col>
</index>
<index name="contpotentialrel_contactid_idx">
<col>contactid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_contpotentialrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_contpotentialrel FOREIGN KEY (contactid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_contpotentialrel FOREIGN KEY (potentialid) REFERENCES vtiger_potential(potentialid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
<data>
</data>
</table>
<table name="vtiger_cntactivityrel">
<field name="contactid" type="I" size="19">
<key />
<notnull />
<default value="0" />
</field>
<field name="activityid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="cntactivityrel_contactid_idx">
<col>contactid</col>
</index>
<index name="cntactivityrel_activityid_idx">
<col>activityid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_cntactivityrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_cntactivityrel FOREIGN KEY (activityid) REFERENCES vtiger_activity(activityid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_cntactivityrel FOREIGN KEY (contactid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
<data>
</data>
</table>
<table name="vtiger_troubletickets">
<field name="ticketid" type="I" size="19">
<key />
</field>
<field name="ticket_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="groupname" type="C" size="100" />
<field name="parent_id" type="C" size="100" />
<field name="product_id" type="C" size="100" />
<field name="priority" type="C" size="200" />
<field name="severity" type="C" size="200" />
<field name="status" type="C" size="200" />
<field name="category" type="C" size="200" />
<field name="title" type="C" size="255">
<notnull />
</field>
<field name="solution" type="X" />
<field name="update_log" type="X" />
<field name="version_id" type="I" size="11" />
<field name="hours" type="C" size="200" />
<field name="days" type="C" size="200" />
<index name="troubletickets_ticketid_idx">
<col>ticketid</col>
</index>
<index name="troubletickets_status_idx">
<col>status</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_troubletickets" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_troubletickets FOREIGN KEY (ticketid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
<data>
</data>
</table>
<table name="vtiger_ticketcomments">
<field name="commentid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="ticketid" type="I" size="19">
</field>
<field name="comments" type="X" />
<field name="ownerid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="ownertype" type="C" size="10" />
<field name="createdtime" type="T" >
<notnull />
</field>
<index name="ticketcomments_ticketid_idx">
<col>ticketid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_ticketcomments" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_ticketcomments FOREIGN KEY (ticketid) REFERENCES vtiger_troubletickets(ticketid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_salesmanactivityrel">
<field name="smid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="activityid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="salesmanactivityrel_activityid_idx">
<col>activityid</col>
</index>
<index name="salesmanactivityrel_smid_idx">
<col>smid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_salesmanactivityrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_salesmanactivityrel FOREIGN KEY (activityid) REFERENCES vtiger_activity(activityid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_salesmanactivityrel FOREIGN KEY (smid) REFERENCES vtiger_users(id) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_vendorcontactrel">
<field name="vendorid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="contactid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="vendorcontactrel_vendorid_idx">
<col>vendorid</col>
</index>
<index name="vendorcontactrel_contact_idx">
<col>contactid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_vendorcontactrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_vendorcontactrel FOREIGN KEY (contactid) REFERENCES vtiger_contactdetails(contactid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_vendorcontactrel FOREIGN KEY (vendorid) REFERENCES vtiger_vendor(vendorid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_salesmanticketrel">
<field name="smid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="id" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="salesmanticketrel_smid_idx">
<col>smid</col>
</index>
<index name="salesmanticketrel_id_idx">
<col>id</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_salesmanticketrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_salesmanticketrel FOREIGN KEY (id) REFERENCES vtiger_troubletickets(ticketid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_salesmanticketrel FOREIGN KEY (smid) REFERENCES vtiger_users(id) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_seactivityrel">
<field name="crmid" type="I" size="19">
<key />
</field>
<field name="activityid" type="I" size="19">
<key />
</field>
<index name="seactivityrel_activityid_idx">
<col>activityid</col>
</index>
<index name="seactivityrel_crmid_idx">
<col>crmid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_seactivityrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_seactivityrel FOREIGN KEY (activityid) REFERENCES vtiger_activity(activityid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_seactivityrel FOREIGN KEY (crmid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_seproductsrel">
<field name="crmid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="productid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="setype" type="C" size="30">
<notnull />
</field>
<field name="quantity" type="I" size="19">
<default value="1" />
</field>
<index name="seproductsrel_productid_idx">
<col>productid</col>
</index>
<index name="seproductrel_crmid_idx">
<col>crmid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_seproductsrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_seproductsrel FOREIGN KEY (crmid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_seproductsrel FOREIGN KEY (productid) REFERENCES vtiger_products(productid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_seticketsrel">
<field name="crmid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="ticketid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="seticketsrel_crmid_idx">
<col>crmid</col>
</index>
<index name="seticketsrel_ticketid_idx">
<col>ticketid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_seticketsrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_seticketsrel FOREIGN KEY (crmid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_seticketsrel FOREIGN KEY (ticketid) REFERENCES vtiger_troubletickets(ticketid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
<data>
</data>
</table>
<table name="vtiger_import_maps">
<field name="id" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="name" type="C" size="36">
<notnull />
</field>
<field name="module" type="C" size="36">
<notnull />
</field>
<field name="content" type="B" />
<field name="has_header" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="date_entered" type="T">
<notnull />
<deftimestamp />
</field>
<field name="date_modified" type="T">
<!-- Troublesome with STRICT_TRANS_TABLE mode depends on MySQL 5.5 or 5.6+ -->
</field>
<field name="assigned_user_id" type="C" size="36" />
<field name="is_published" type="C" size="3">
<notnull />
<default value="no" />
</field>
<index name="import_maps_assigned_user_id_module_name_deleted_idx">
<col>assigned_user_id</col>
<col>module</col>
<col>name</col>
<col>deleted</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_systems">
<field name="id" type="I" size="19">
<key />
</field>
<field name="server" type="C" size="100" />
<field name="server_port" type="I" size="19" />
<field name="server_username" type="C" size="100" />
<field name="server_password" type="C" size="255" />
<field name="server_type" type="C" size="20" />
<field name="smtp_auth" type="C" size="5" />
<field name="server_path" type="C" size="256" />
<field name="from_email_field" type="C" size="50" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
</table>
<table name="vtiger_currency_info">
<field name="id" type="I" >
<key />
<autoincrement />
</field>
<field name="currency_name" type="C" size="100" />
<field name="currency_code" type="C" size="100" />
<field name="currency_symbol" type="C" size="30" />
<field name="conversion_rate" type="N" size="10.3" />
<field name="currency_status" type="C" size="25" />
<field name="defaultid" type="C" size="10">
<notnull />
<default value="0" />
</field>
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_defaultcv">
<field name="tabid" type="I" size="19">
<key />
</field>
<field name="defaultviewname" type="C" size="50">
<notnull />
</field>
<field name="query" type="X" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_defaultcv" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_defaultcv FOREIGN KEY (tabid) REFERENCES vtiger_tab(tabid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_emailtemplates">
<field name="foldername" type="C" size="100" />
<field name="templatename" type="C" size="100" />
<field name="templatepath" type="C" size="100" />
<field name="subject" type="C" size="100" />
<field name="description" type="X" />
<field name="body" type="X" />
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="templateid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="systemtemplate" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="module" type="C" size="100" />
<index name="emailtemplates_foldernamd_templatename_subject_idx">
<col>foldername</col>
<col>templatename</col>
<col>subject</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
</table>
<table name="vtiger_faq">
<field name="id" type="I" size="11">
<key />
<autoincrement />
</field>
<field name="faq_no" type="C" size="100">
<notnull />
<unique />
</field>
<field name="product_id" type="C" size="100" />
<field name="question" type="X">
<notnull />
</field>
<field name="answer" type="X" />
<field name="category" type="C" size="200">
<notnull />
</field>
<field name="status" type="C" size="200">
<notnull />
</field>
<index name="faq_id_idx">
<col>id</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_faq" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_faq FOREIGN KEY (id) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_faqcomments">
<field name="commentid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="faqid" type="I" size="19">
</field>
<field name="comments" type="X" />
<field name="createdtime" type="T">
<notnull />
</field>
<index name="faqcomments_faqid_idx">
<col>faqid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_faqcomments" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_faqcomments FOREIGN KEY (faqid) REFERENCES vtiger_faq(id) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_loginhistory">
<field name="login_id" type="I" size="11">
<key />
<autoincrement />
</field>
<field name="user_name" type="C" size="25">
<notnull />
</field>
<field name="user_ip" type="C" size="25">
<notnull />
</field>
<field name="logout_time" type="T">
<deftimestamp />
</field>
<field name="login_time" type="T">
<!-- Troublesome with STRICT_TRANS_TABLE mode depends on MySQL 5.5 or 5.6+ -->
<!--
<deftimestamp />
-->
</field>
<field name="status" type="C" size="25" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_senotesrel">
<field name="crmid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="notesid" type="I" size="19">
<key />
<default value="0" />
</field>
<index name="senotesrel_notesid_idx">
<col>notesid</col>
</index>
<index name="senotesrel_crmid_idx">
<col>crmid</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_senotesrel" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_senotesrel FOREIGN KEY (crmid) REFERENCES vtiger_crmentity(crmid) ON DELETE CASCADE</constraint>
<constraint>ADD CONSTRAINT fk_2_vtiger_senotesrel FOREIGN KEY (notesid) REFERENCES vtiger_notes(notesid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_ticketcf">
<field name="ticketid" type="I" size="19">
<key />
<default value="0" />
</field>
<field name="from_portal" type="C" size="3" />
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_ticketcf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_ticketcf FOREIGN KEY (ticketid) REFERENCES vtiger_troubletickets(ticketid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_productcf">
<field name="productid" type="I" size="19">
<key />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
</table>
<table name="vtiger_productcf" alter="true">
<constraint>ADD CONSTRAINT fk_1_vtiger_productcf FOREIGN KEY (productid) REFERENCES vtiger_products(productid) ON DELETE CASCADE</constraint>
<opt>Engine=InnoDB DEFAULT CHARSET utf8</opt>
<data>
</data>
</table>
<table name="vtiger_users_last_import">
<field name="id" type="I" size="36">
<autoincrement />
<key />
</field>
<field name="assigned_user_id" type="C" size="36" />
<field name="bean_type" type="C" size="36" />
<field name="bean_id" type="C" size="36" />
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<index name="idx_user_id">
<col>assigned_user_id</col>
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
</table>
<table name="vtiger_wordtemplates">
<field name="templateid" type="I" size="19">
<key />
</field>
<field name="filename" type="C" size="100">
<notnull />
</field>
<field name="module" type="C" size="30">
<notnull />
</field>
<field name="date_entered" type="T">
<notnull />
<deftimestamp />
</field>
<field name="parent_type" type="C" size="50">
<notnull />
</field>
<field name="data" type="B">
<notnull />
</field>
<field name="description" type="X" />
<field name="filesize" type="C" size="50">
<notnull />
</field>
<field name="filetype" type="C" size="20">
<notnull />
</field>
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
</table>
<table name="vtiger_accountrating">
<field name="accountratingid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="rating" type="C" size="200">
<notnull />
</field>
<field name="sortorderid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1" />
</field>
<index name="accountrating_rating_idx">
<col>rating</col>
<unique />
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
</table>
<table name="vtiger_accounttype">
<field name="accounttypeid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="accounttype" type="C" size="200">
<notnull />
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="picklist_valueid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="sortorderid" type="I" size="11"></field>
<index name="accounttype_accounttype_idx">
<col>accounttype</col>
<unique />
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
</table>
<table name="vtiger_leadsource">
<field name="leadsourceid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="leadsource" type="C" size="200">
<notnull />
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="picklist_valueid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="sortorderid" type="I" size="11"></field>
<index name="leadsource_source_idx">
<col>source</col>
<unique />
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
</table>
<table name="vtiger_opportunity_type">
<field name="opptypeid" type="I" size="19">
<key />
<autoincrement />
</field>
<field name="opportunity_type" type="C" size="200">
<notnull />
</field>
<field name="presence" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="picklist_valueid" type="I" size="19">
<notnull />
<default value="0" />
</field>
<field name="sortorderid" type="I" size="11"></field>
<index name="opportunity_type_opportunity_type_idx">
<col>opportunity_type</col>
<unique />
</index>
<opt platform="mysql">Engine=InnoDB DEFAULT CHARSET utf8</opt>
Loading
Loading full blame...