Commit 76732335c3651a22e5a1f2dcbb4dad789419eed3
1 parent
6b631262f7
Exists in
master
test
Showing 6 changed files with 3526 additions and 0 deletions Side-by-side Diff
k2shop/k2shop_sql/app/kobra_gsm.architect
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<architect-project version="1.0" appversion="1.0.8"> | |
| 3 | + <project-name>kobra_gsm</project-name> | |
| 4 | + <print-settings printerName="Samsung CLX-3300 Series" numCopies="1" zoom="0.49" pageNumbersPrinted="true" orientation="0" paperWidth="612.0" paperHeight="792.0" leftBorder="50.00314960629921" rightBorder="50.003149606299225" topBorder="50.00314960629921" bottomBorder="50.00314960629917" /> | |
| 5 | + <project-data-sources> | |
| 6 | + <data-source id="DS0"> | |
| 7 | + <property key="Logical" value="PlayPen Database" /> | |
| 8 | + </data-source> | |
| 9 | + </project-data-sources> | |
| 10 | + <source-databases> | |
| 11 | + </source-databases> | |
| 12 | + <target-database id="ppdb" dbcs-ref="DS0"> | |
| 13 | + <table id="TAB1" populated="true" UUID="782b11ff-d57f-4ad8-a2f1-20a8a10f45ac" name="gsmAcc" objectType="TABLE" physicalName="gsmAcc" > | |
| 14 | + <remarks>Аккаунт</remarks> | |
| 15 | + <folder id="FOLTAB11" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 16 | + <column id="COL2" populated="true" UUID="a7e3568f-df10-40bb-938a-712548694643" autoIncrement="true" autoIncrementSequenceName="gsmAcc_accid_seq" defaultValue="" name="accid" nullable="0" physicalName="accid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 17 | + <remarks>id счета</remarks> | |
| 18 | + </column> | |
| 19 | + <column id="COL3" populated="true" UUID="4a2f1393-86d0-410f-9932-782d2e370952" autoIncrement="false" autoIncrementSequenceName="gsmAcc_nomer_acc_seq" defaultValue="" name="nomer_acc" nullable="0" physicalName="nomer_acc" precision="25" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 20 | + <remarks>Номер лицевого счета</remarks> | |
| 21 | + </column> | |
| 22 | + <column id="COL4" populated="true" UUID="217a6983-02a3-49a6-8804-b9daa47da437" autoIncrement="false" autoIncrementSequenceName="gsmAcc_acc_status_id_seq" defaultValue="" name="acc_status_id" nullable="0" physicalName="acc_status_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 23 | + <remarks></remarks> | |
| 24 | + </column> | |
| 25 | + <column id="COL5" populated="true" UUID="c385341c-3719-41b8-991e-38c2f6e66403" autoIncrement="false" autoIncrementSequenceName="gsmAcc_comment_acc_seq" defaultValue="" name="comment_acc" nullable="0" physicalName="comment_acc" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 26 | + <remarks>Примечание к аккаунту</remarks> | |
| 27 | + </column> | |
| 28 | + <column id="COL6" populated="true" UUID="ed158d65-db28-4949-be15-17341e6e03a0" autoIncrement="false" autoIncrementSequenceName="gsmAcc_act_seq" defaultValue="" name="act" nullable="1" physicalName="act" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 29 | + <remarks>Активность</remarks> | |
| 30 | + </column> | |
| 31 | + </folder> | |
| 32 | + <folder id="FOLTAB13" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 33 | + </folder> | |
| 34 | + <folder id="FOLTAB12" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 35 | + </folder> | |
| 36 | + <folder id="FOLTAB14" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 37 | + <index id="IDX7" populated="true" UUID="a399ec02-5dbf-4144-9644-6a827bb7d5ba" clustered="false" name="gsmAcc_pk" physicalName="gsmAcc_pk" primaryKeyIndex="true" unique="false" > | |
| 38 | + <index-column id="IDC8" populated="true" UUID="25cc9a61-2ff2-4fec-b2e3-087748a0ac3e" ascendingOrDescending="UNSPECIFIED" column-ref="COL2" name="accid" physicalName="accid" /> | |
| 39 | + </index> | |
| 40 | + </folder> | |
| 41 | + </table> | |
| 42 | + <table id="TAB9" populated="true" UUID="f266c3bf-fc5a-4410-b2ed-fc46671def0d" name="gsmPhones" objectType="TABLE" physicalName="gsmPhones" > | |
| 43 | + <remarks>Телефонные номера</remarks> | |
| 44 | + <folder id="FOLTAB91" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 45 | + <column id="COL10" populated="true" UUID="569778a5-f304-492c-9d26-899e51e9e346" autoIncrement="true" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 46 | + <remarks></remarks> | |
| 47 | + </column> | |
| 48 | + <column id="COL11" populated="true" UUID="54be5ca4-f41e-4c00-860d-e760fb2585f4" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phone_number_seq" defaultValue="" name="phone_number" nullable="0" physicalName="phone_number" precision="25" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 49 | + <remarks>Телефонный номер</remarks> | |
| 50 | + </column> | |
| 51 | + <column id="COL12" populated="true" UUID="5c3f2d32-06b2-40db-a9de-99c2523e9816" autoIncrement="false" autoIncrementSequenceName="gsmAcc_accid_seq" defaultValue="" name="accid" nullable="0" physicalName="accid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 52 | + <remarks>id счета</remarks> | |
| 53 | + </column> | |
| 54 | + <column id="COL13" populated="true" UUID="5d2041dc-ad1c-41f1-bc51-86d7d9d676da" autoIncrement="false" autoIncrementSequenceName="gsmAccStatus_acc_status_id_seq" defaultValue="" name="acc_status_id" nullable="0" physicalName="acc_status_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 55 | + <remarks></remarks> | |
| 56 | + </column> | |
| 57 | + <column id="COL14" populated="true" UUID="af38a58f-83f6-4576-a1db-2a3e2da07ebf" autoIncrement="false" autoIncrementSequenceName="gsmControl_controlid_seq" defaultValue="" name="controlid" nullable="0" physicalName="controlid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 58 | + <remarks></remarks> | |
| 59 | + </column> | |
| 60 | + <column id="COL15" populated="true" UUID="1e6ad603-2cc0-4025-bd39-7bc577edc020" autoIncrement="false" autoIncrementSequenceName="gsmProj_projid_seq" defaultValue="" name="projid" nullable="0" physicalName="projid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 61 | + <remarks>id проекта</remarks> | |
| 62 | + </column> | |
| 63 | + <column id="COL16" populated="true" UUID="78a6f086-9b5a-4dc1-bf7d-611d73278b9a" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarifid_seq" defaultValue="" name="tarifid" nullable="0" physicalName="tarifid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 64 | + <remarks>id тарифа</remarks> | |
| 65 | + </column> | |
| 66 | + <column id="COL17" populated="true" UUID="4fbad794-b39b-420f-b32d-b336fd4c72db" autoIncrement="false" autoIncrementSequenceName="gsmPhones_double_seq" defaultValue="" name="double" nullable="1" physicalName="double" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 67 | + <remarks>Парные номера</remarks> | |
| 68 | + </column> | |
| 69 | + <column id="COL18" populated="true" UUID="4f0b89d6-654a-41bd-8f96-e10aeaf57014" autoIncrement="false" autoIncrementSequenceName="gsmCli_cli_id_seq" defaultValue="" name="cli_id" nullable="0" physicalName="cli_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 70 | + <remarks>id клиента</remarks> | |
| 71 | + </column> | |
| 72 | + </folder> | |
| 73 | + <folder id="FOLTAB93" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 74 | + </folder> | |
| 75 | + <folder id="FOLTAB92" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 76 | + </folder> | |
| 77 | + <folder id="FOLTAB94" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 78 | + <index id="IDX19" populated="true" UUID="533345ae-a54c-43f5-84b8-f28959e2aa8c" clustered="false" name="gsmPhones_pk" physicalName="gsmPhones_pk" primaryKeyIndex="true" unique="false" > | |
| 79 | + <index-column id="IDC20" populated="true" UUID="7792d006-5881-4397-bde3-16fbb8094ca2" ascendingOrDescending="UNSPECIFIED" column-ref="COL10" name="phoneid" physicalName="phoneid" /> | |
| 80 | + </index> | |
| 81 | + </folder> | |
| 82 | + </table> | |
| 83 | + <table id="TAB21" populated="true" UUID="c3881036-077a-4e81-b998-ef94f0da8a2c" name="gsmAccStatus" objectType="TABLE" physicalName="gsmAccStatus" > | |
| 84 | + <remarks>Статус счета</remarks> | |
| 85 | + <folder id="FOLTAB211" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 86 | + <column id="COL22" populated="true" UUID="0d7006e2-5cc7-4a34-a074-1a14b21ef052" autoIncrement="true" autoIncrementSequenceName="gsmAccStatus_acc_status_id_seq" defaultValue="" name="acc_status_id" nullable="0" physicalName="acc_status_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 87 | + <remarks></remarks> | |
| 88 | + </column> | |
| 89 | + <column id="COL23" populated="true" UUID="f81cf966-7568-41ea-b809-a011305a0b44" autoIncrement="false" autoIncrementSequenceName="gsmAccStatus_name_status_seq" defaultValue="" name="name_status" nullable="1" physicalName="name_status" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 90 | + <remarks>Название статуса</remarks> | |
| 91 | + </column> | |
| 92 | + <column id="COL24" populated="true" UUID="97bdd0e0-0137-41be-a802-2b6a877b7fe7" autoIncrement="false" autoIncrementSequenceName="gsmAccStatus_comment_status_seq" defaultValue="" name="comment_status" nullable="1" physicalName="comment_status" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 93 | + <remarks>Примечание к статусу</remarks> | |
| 94 | + </column> | |
| 95 | + </folder> | |
| 96 | + <folder id="FOLTAB213" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 97 | + </folder> | |
| 98 | + <folder id="FOLTAB212" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 99 | + </folder> | |
| 100 | + <folder id="FOLTAB214" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 101 | + <index id="IDX25" populated="true" UUID="c66986c2-b6d3-4ac3-b1fa-ea5591acee58" clustered="false" name="gsmAccStatus_pk" physicalName="gsmAccStatus_pk" primaryKeyIndex="true" unique="false" > | |
| 102 | + <index-column id="IDC26" populated="true" UUID="0c8f5d7b-d8d0-4689-9b72-1dc65c80e1bf" ascendingOrDescending="UNSPECIFIED" column-ref="COL22" name="acc_status_id" physicalName="acc_status_id" /> | |
| 103 | + </index> | |
| 104 | + </folder> | |
| 105 | + </table> | |
| 106 | + <table id="TAB27" populated="true" UUID="d26cba10-bbb6-4fab-817e-d2f90c2799fa" name="gsmControl" objectType="TABLE" physicalName="gsmControl" > | |
| 107 | + <remarks>На контроле</remarks> | |
| 108 | + <folder id="FOLTAB271" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 109 | + <column id="COL28" populated="true" UUID="c15b23a7-fec8-4888-9445-7b7d02af80f6" autoIncrement="true" autoIncrementSequenceName="gsmControl_controlid_seq" defaultValue="" name="controlid" nullable="0" physicalName="controlid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 110 | + <remarks></remarks> | |
| 111 | + </column> | |
| 112 | + <column id="COL29" populated="true" UUID="af55785c-3031-4912-8930-f513ab1f746c" autoIncrement="false" autoIncrementSequenceName="gsmControl_control_name_seq" defaultValue="" name="control_name" nullable="1" physicalName="control_name" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 113 | + <remarks></remarks> | |
| 114 | + </column> | |
| 115 | + <column id="COL30" populated="true" UUID="cbcf9bc4-7878-4846-bd64-d9208be38356" autoIncrement="false" autoIncrementSequenceName="gsmControl_comment_control_seq" defaultValue="" name="comment_control" nullable="1" physicalName="comment_control" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 116 | + <remarks>Примечание к контролю</remarks> | |
| 117 | + </column> | |
| 118 | + </folder> | |
| 119 | + <folder id="FOLTAB273" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 120 | + </folder> | |
| 121 | + <folder id="FOLTAB272" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 122 | + </folder> | |
| 123 | + <folder id="FOLTAB274" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 124 | + <index id="IDX31" populated="true" UUID="f06a4435-760a-489a-aac9-4a7fe2aeef58" clustered="false" name="gsmControl_pk" physicalName="gsmControl_pk" primaryKeyIndex="true" unique="false" > | |
| 125 | + <index-column id="IDC32" populated="true" UUID="2b8c9787-46d9-4dbc-8959-5b27acb4b36b" ascendingOrDescending="UNSPECIFIED" column-ref="COL28" name="controlid" physicalName="controlid" /> | |
| 126 | + </index> | |
| 127 | + </folder> | |
| 128 | + </table> | |
| 129 | + <table id="TAB33" populated="true" UUID="7f8dea73-b0b0-4f95-87eb-575a72f0d66f" name="gsmProj" objectType="TABLE" physicalName="gsmProj" > | |
| 130 | + <remarks>Проект</remarks> | |
| 131 | + <folder id="FOLTAB331" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 132 | + <column id="COL34" populated="true" UUID="9c9e6a2c-5d7a-49b5-ac4b-256978d37e31" autoIncrement="true" autoIncrementSequenceName="gsmProj_projid_seq" defaultValue="" name="projid" nullable="0" physicalName="projid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 133 | + <remarks>id проекта</remarks> | |
| 134 | + </column> | |
| 135 | + <column id="COL35" populated="true" UUID="e2cc2b13-f6c5-408f-aacb-bf3e89d28e17" autoIncrement="false" autoIncrementSequenceName="gsmProj_proj_name_seq" defaultValue="" name="proj_name" nullable="1" physicalName="proj_name" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 136 | + <remarks>Название проекта</remarks> | |
| 137 | + </column> | |
| 138 | + <column id="COL36" populated="true" UUID="5533f50a-2d53-416f-b53b-768e75ee9543" autoIncrement="false" autoIncrementSequenceName="gsmProj_comment_proj_seq" defaultValue="" name="comment_proj" nullable="1" physicalName="comment_proj" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 139 | + <remarks>Примечание к проекту</remarks> | |
| 140 | + </column> | |
| 141 | + </folder> | |
| 142 | + <folder id="FOLTAB333" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 143 | + </folder> | |
| 144 | + <folder id="FOLTAB332" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 145 | + </folder> | |
| 146 | + <folder id="FOLTAB334" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 147 | + <index id="IDX37" populated="true" UUID="c0f3d169-1942-460b-82db-4f88775893a0" clustered="false" name="gsmProj_pk" physicalName="gsmProj_pk" primaryKeyIndex="true" unique="false" > | |
| 148 | + <index-column id="IDC38" populated="true" UUID="7e6ebc52-51ae-4ceb-9d00-fedf673e087b" ascendingOrDescending="UNSPECIFIED" column-ref="COL34" name="projid" physicalName="projid" /> | |
| 149 | + </index> | |
| 150 | + </folder> | |
| 151 | + </table> | |
| 152 | + <table id="TAB39" populated="true" UUID="fd48cba0-dcf8-45e8-a438-636241a0fc49" name="gsmTarifs" objectType="TABLE" physicalName="gsmTarifs" > | |
| 153 | + <remarks>Тарифные планы</remarks> | |
| 154 | + <folder id="FOLTAB391" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 155 | + <column id="COL40" populated="true" UUID="ad3c9e93-f17d-4edb-a3dd-017a9bf3d3f5" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarifid_seq" defaultValue="" name="tarifid" nullable="0" physicalName="tarifid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 156 | + <remarks>id тарифа</remarks> | |
| 157 | + </column> | |
| 158 | + <column id="COL41" populated="true" UUID="aeb90805-fff7-4e85-9d85-b2b7310e966c" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarif_name_seq" defaultValue="" name="tarif_name" nullable="1" physicalName="tarif_name" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 159 | + <remarks>Название тарифа</remarks> | |
| 160 | + </column> | |
| 161 | + <column id="COL42" populated="true" UUID="3d3236e0-e040-446f-9efb-8f225881aac7" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarif_name_full_seq" defaultValue="" name="tarif_name_full" nullable="1" physicalName="tarif_name_full" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 162 | + <remarks>Полное название тарифа</remarks> | |
| 163 | + </column> | |
| 164 | + <column id="COL43" populated="true" UUID="cd2bb038-e3de-4c9e-965a-6fe2d28a699d" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_comment_tarif_seq" defaultValue="" name="comment_tarif" nullable="1" physicalName="comment_tarif" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 165 | + <remarks>Примечание</remarks> | |
| 166 | + </column> | |
| 167 | + </folder> | |
| 168 | + <folder id="FOLTAB393" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 169 | + </folder> | |
| 170 | + <folder id="FOLTAB392" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 171 | + </folder> | |
| 172 | + <folder id="FOLTAB394" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 173 | + <index id="IDX44" populated="true" UUID="c5cd90a1-d94d-4c7b-9637-d3b5f84be15f" clustered="false" name="gsmTarifs_pk" physicalName="gsmTarifs_pk" primaryKeyIndex="true" unique="false" > | |
| 174 | + <index-column id="IDC45" populated="true" UUID="158df4a2-037b-427a-a10e-f51ae7d492f1" ascendingOrDescending="UNSPECIFIED" column-ref="COL40" name="tarifid" physicalName="tarifid" /> | |
| 175 | + </index> | |
| 176 | + </folder> | |
| 177 | + </table> | |
| 178 | + <table id="TAB46" populated="true" UUID="9b38bb14-4dc0-46f8-b084-b2047f344079" name="gsmGroupPack" objectType="TABLE" physicalName="gsmGroupPack" > | |
| 179 | + <remarks></remarks> | |
| 180 | + <folder id="FOLTAB461" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 181 | + <column id="COL47" populated="true" UUID="bc72047b-5bf5-469d-b61d-cff96cd9b7ab" autoIncrement="true" autoIncrementSequenceName="gsmGroupPack_group_pack_id_seq" defaultValue="" name="group_pack_id" nullable="0" physicalName="group_pack_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 182 | + <remarks>id пакета</remarks> | |
| 183 | + </column> | |
| 184 | + <column id="COL48" populated="true" UUID="03819d18-1d7b-454c-9102-b551d029ee44" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_group_name_seq" defaultValue="" name="group_name" nullable="1" physicalName="group_name" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 185 | + <remarks>Название группы</remarks> | |
| 186 | + </column> | |
| 187 | + <column id="COL49" populated="true" UUID="cd51f7a5-2267-44a7-b442-b3515f634881" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_comment_grouppack_seq" defaultValue="" name="comment_grouppack" nullable="1" physicalName="comment_grouppack" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 188 | + <remarks>Примечание</remarks> | |
| 189 | + </column> | |
| 190 | + <column id="COL50" populated="true" UUID="4c72b389-1d5a-44eb-8ed9-8a3a96741352" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_is_additional_seq" defaultValue="" name="is_additional" nullable="1" physicalName="is_additional" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 191 | + <remarks>Дополнительные услуги</remarks> | |
| 192 | + </column> | |
| 193 | + </folder> | |
| 194 | + <folder id="FOLTAB463" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 195 | + </folder> | |
| 196 | + <folder id="FOLTAB462" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 197 | + </folder> | |
| 198 | + <folder id="FOLTAB464" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 199 | + <index id="IDX51" populated="true" UUID="ae832a16-c5d6-4d3d-8650-de60dccd5adb" clustered="false" name="gsmGroupPack_pk" physicalName="gsmGroupPack_pk" primaryKeyIndex="true" unique="false" > | |
| 200 | + <index-column id="IDC52" populated="true" UUID="188d607d-b814-430e-8795-1a04c470d989" ascendingOrDescending="UNSPECIFIED" column-ref="COL47" name="group_pack_id" physicalName="group_pack_id" /> | |
| 201 | + </index> | |
| 202 | + </folder> | |
| 203 | + </table> | |
| 204 | + <table id="TAB53" populated="true" UUID="dfc1d01e-0c42-4549-8f11-2283160df29b" name="gsmPackName" objectType="TABLE" physicalName="gsmPackName" > | |
| 205 | + <remarks>Названия пакетов</remarks> | |
| 206 | + <folder id="FOLTAB531" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 207 | + <column id="COL54" populated="true" UUID="b8a5ee8d-f2c6-469b-9359-52c7f0efeaa1" autoIncrement="false" autoIncrementSequenceName="gsmPackName_pack_name_id_seq" defaultValue="" name="pack_name_id" nullable="0" physicalName="pack_name_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 208 | + <remarks>id пакета</remarks> | |
| 209 | + </column> | |
| 210 | + <column id="COL55" populated="true" UUID="e810bf99-4229-4c96-a293-ccae578cf9a8" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_group_pack_id_seq" defaultValue="" name="group_pack_id" nullable="0" physicalName="group_pack_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 211 | + <remarks>id пакета</remarks> | |
| 212 | + </column> | |
| 213 | + <column id="COL56" populated="true" UUID="83751959-6466-45cd-b140-50929a08d286" autoIncrement="false" autoIncrementSequenceName="gsmPackName_packname_seq" defaultValue="" name="packname" nullable="0" physicalName="packname" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 214 | + <remarks>Название пакета</remarks> | |
| 215 | + </column> | |
| 216 | + </folder> | |
| 217 | + <folder id="FOLTAB533" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 218 | + </folder> | |
| 219 | + <folder id="FOLTAB532" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 220 | + </folder> | |
| 221 | + <folder id="FOLTAB534" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 222 | + <index id="IDX57" populated="true" UUID="7abb6c83-8514-4868-aa7c-9d470ce58d1c" clustered="false" name="gsmPackName_pk" physicalName="gsmPackName_pk" primaryKeyIndex="true" unique="false" > | |
| 223 | + <index-column id="IDC58" populated="true" UUID="ddbe0039-1681-4fdf-b232-6e6da08d8063" ascendingOrDescending="UNSPECIFIED" column-ref="COL54" name="pack_name_id" physicalName="pack_name_id" /> | |
| 224 | + </index> | |
| 225 | + </folder> | |
| 226 | + </table> | |
| 227 | + <table id="TAB59" populated="true" UUID="51fbbd8c-4a24-4d48-8d27-cd086a4d20d6" name="gsmPackPhones" objectType="TABLE" physicalName="gsmPackPhones" > | |
| 228 | + <remarks>Развязочная таблица пакетов</remarks> | |
| 229 | + <folder id="FOLTAB591" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 230 | + <column id="COL60" populated="true" UUID="4adbf091-e689-4dbc-8d1a-f05136336e7d" autoIncrement="true" autoIncrementSequenceName="gsmPackPhones_packphoneid_seq" defaultValue="" name="packphoneid" nullable="0" physicalName="packphoneid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 231 | + <remarks>id пакета</remarks> | |
| 232 | + </column> | |
| 233 | + <column id="COL61" populated="true" UUID="4ceea6b1-d9e0-41d2-873e-bebcdee5b88b" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 234 | + <remarks></remarks> | |
| 235 | + </column> | |
| 236 | + <column id="COL62" populated="true" UUID="f4122f79-9f9b-46a9-81ed-d008f0cdf522" autoIncrement="false" autoIncrementSequenceName="gsmPackName_pack_name_id_seq" defaultValue="" name="pack_name_id" nullable="0" physicalName="pack_name_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 237 | + <remarks>id пакета</remarks> | |
| 238 | + </column> | |
| 239 | + </folder> | |
| 240 | + <folder id="FOLTAB593" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 241 | + </folder> | |
| 242 | + <folder id="FOLTAB592" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 243 | + </folder> | |
| 244 | + <folder id="FOLTAB594" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 245 | + <index id="IDX63" populated="true" UUID="53537d18-5743-4e5f-9851-68cc0364fc51" clustered="false" name="gsmPackPhones_pk" physicalName="gsmPackPhones_pk" primaryKeyIndex="true" unique="false" > | |
| 246 | + <index-column id="IDC64" populated="true" UUID="9e500cc9-b513-4343-a31c-e5542399b60a" ascendingOrDescending="UNSPECIFIED" column-ref="COL60" name="packphoneid" physicalName="packphoneid" /> | |
| 247 | + </index> | |
| 248 | + </folder> | |
| 249 | + </table> | |
| 250 | + <table id="TAB65" populated="true" UUID="054d5d0e-a6fd-4c36-ad5d-561a11fb5f20" name="gsmActivePhone" objectType="TABLE" physicalName="gsmActivePhone" > | |
| 251 | + <remarks>Активация</remarks> | |
| 252 | + <folder id="FOLTAB651" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 253 | + <column id="COL66" populated="true" UUID="6118ce34-8edf-442d-ad78-08dbbe19c110" autoIncrement="true" autoIncrementSequenceName="gsmActivePhone_active_phone_id_seq" defaultValue="" name="active_phone_id" nullable="0" physicalName="active_phone_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 254 | + <remarks></remarks> | |
| 255 | + </column> | |
| 256 | + <column id="COL67" populated="true" UUID="28a65e89-1595-4e43-a65a-4bdca7f1e935" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 257 | + <remarks></remarks> | |
| 258 | + </column> | |
| 259 | + <column id="COL68" populated="true" UUID="5a1375f5-6ad4-4810-8d8d-f8f2fef9dac2" autoIncrement="false" autoIncrementSequenceName="gsmActivePhone_dateotgruz_seq" defaultValue="" name="dateotgruz" nullable="1" physicalName="dateotgruz" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 260 | + <remarks></remarks> | |
| 261 | + </column> | |
| 262 | + <column id="COL69" populated="true" UUID="fe8f76dc-4797-469a-bf6b-e77ff968287a" autoIncrement="false" autoIncrementSequenceName="gsmActivePhone_dateactive_seq" defaultValue="" name="dateactive" nullable="1" physicalName="dateactive" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 263 | + <remarks>Дата акции</remarks> | |
| 264 | + </column> | |
| 265 | + </folder> | |
| 266 | + <folder id="FOLTAB653" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 267 | + </folder> | |
| 268 | + <folder id="FOLTAB652" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 269 | + </folder> | |
| 270 | + <folder id="FOLTAB654" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 271 | + <index id="IDX70" populated="true" UUID="a5222158-b145-4854-b0b2-93631eb24a0f" clustered="false" name="gsmActivePhone_pk" physicalName="gsmActivePhone_pk" primaryKeyIndex="true" unique="false" > | |
| 272 | + <index-column id="IDC71" populated="true" UUID="6341765f-36da-48df-ab77-f2a66541316c" ascendingOrDescending="UNSPECIFIED" column-ref="COL66" name="active_phone_id" physicalName="active_phone_id" /> | |
| 273 | + </index> | |
| 274 | + </folder> | |
| 275 | + </table> | |
| 276 | + <table id="TAB72" populated="true" UUID="d3fb9c97-4db5-42ff-aff8-9d651c311878" name="gsmPeriods" objectType="TABLE" physicalName="gsmPeriods" > | |
| 277 | + <remarks>Периоды</remarks> | |
| 278 | + <folder id="FOLTAB721" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 279 | + <column id="COL73" populated="true" UUID="eff9fca7-5400-4786-874c-1f4b8323156c" autoIncrement="true" autoIncrementSequenceName="gsmPeriods_periodid_seq" defaultValue="" name="periodid" nullable="0" physicalName="periodid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 280 | + <remarks>id периода</remarks> | |
| 281 | + </column> | |
| 282 | + <column id="COL74" populated="true" UUID="d470d033-cd81-4976-a27e-b0f7e10b66b3" autoIncrement="false" autoIncrementSequenceName="gsmPeriods_year_period_seq" defaultValue="" name="year_period" nullable="1" physicalName="year_period" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 283 | + <remarks>Год</remarks> | |
| 284 | + </column> | |
| 285 | + <column id="COL75" populated="true" UUID="630b6950-8bcc-478d-b597-9422dfaee2c1" autoIncrement="false" autoIncrementSequenceName="gsmPeriods_month_period_seq" defaultValue="" name="month_period" nullable="1" physicalName="month_period" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 286 | + <remarks>Месяц</remarks> | |
| 287 | + </column> | |
| 288 | + </folder> | |
| 289 | + <folder id="FOLTAB723" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 290 | + </folder> | |
| 291 | + <folder id="FOLTAB722" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 292 | + </folder> | |
| 293 | + <folder id="FOLTAB724" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 294 | + <index id="IDX76" populated="true" UUID="aa4a3802-7866-4daf-8203-7fa38f95e740" clustered="false" name="gsmPeriods_pk" physicalName="gsmPeriods_pk" primaryKeyIndex="true" unique="false" > | |
| 295 | + <index-column id="IDC77" populated="true" UUID="18da352f-fdb0-4a8e-9c11-cc255a3dbfac" ascendingOrDescending="UNSPECIFIED" column-ref="COL73" name="periodid" physicalName="periodid" /> | |
| 296 | + </index> | |
| 297 | + </folder> | |
| 298 | + </table> | |
| 299 | + <table id="TAB78" populated="true" UUID="0b1fd002-dd2c-4a25-a5a9-de2b53abf1d4" name="gsmCli" objectType="TABLE" physicalName="gsmCli" > | |
| 300 | + <remarks>Название клиента</remarks> | |
| 301 | + <folder id="FOLTAB781" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 302 | + <column id="COL79" populated="true" UUID="b1eecf1b-e855-4b16-afd2-0d2a6a03e03e" autoIncrement="true" autoIncrementSequenceName="gsmCli_cli_id_seq" defaultValue="" name="cli_id" nullable="0" physicalName="cli_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 303 | + <remarks>id клиента</remarks> | |
| 304 | + </column> | |
| 305 | + <column id="COL80" populated="true" UUID="77017761-6139-4a45-a934-a6b33250a043" autoIncrement="false" autoIncrementSequenceName="gsmCli_name_cli_seq" defaultValue="" name="name_cli" nullable="1" physicalName="name_cli" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 306 | + <remarks>Название клиента</remarks> | |
| 307 | + </column> | |
| 308 | + <column id="COL81" populated="true" UUID="817d1dcf-242a-4a1d-89ce-894c08c63eae" autoIncrement="false" autoIncrementSequenceName="gsmCli_comment_cli_seq" defaultValue="" name="comment_cli" nullable="1" physicalName="comment_cli" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 309 | + <remarks>Примечание</remarks> | |
| 310 | + </column> | |
| 311 | + </folder> | |
| 312 | + <folder id="FOLTAB783" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 313 | + </folder> | |
| 314 | + <folder id="FOLTAB782" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 315 | + </folder> | |
| 316 | + <folder id="FOLTAB784" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 317 | + <index id="IDX82" populated="true" UUID="9797a790-a855-4bf5-9e6c-5d871111bc83" clustered="false" name="gsmCli_pk" physicalName="gsmCli_pk" primaryKeyIndex="true" unique="false" > | |
| 318 | + <index-column id="IDC83" populated="true" UUID="9bd4db3e-41db-4e8a-86bc-f47fbebda016" ascendingOrDescending="UNSPECIFIED" column-ref="COL79" name="cli_id" physicalName="cli_id" /> | |
| 319 | + </index> | |
| 320 | + </folder> | |
| 321 | + </table> | |
| 322 | + <table id="TAB84" populated="true" UUID="b9bc6d62-2073-4c28-a7d7-4fd3178f0d5e" name="gsmTypeContact" objectType="TABLE" physicalName="gsmTypeContact" > | |
| 323 | + <remarks>Тип контакта</remarks> | |
| 324 | + <folder id="FOLTAB841" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 325 | + <column id="COL85" populated="true" UUID="fe65da51-2d9d-446a-af86-7db09279bbea" autoIncrement="true" autoIncrementSequenceName="gsmTypeContact_type_cont_id_seq" defaultValue="" name="type_cont_id" nullable="0" physicalName="type_cont_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 326 | + <remarks>id типа клиента</remarks> | |
| 327 | + </column> | |
| 328 | + <column id="COL86" populated="true" UUID="f34f6673-baaf-4eb8-bb99-e49d62cadce4" autoIncrement="false" autoIncrementSequenceName="gsmTypeContact_name_type_contact_seq" defaultValue="" name="name_type_contact" nullable="1" physicalName="name_type_contact" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 329 | + <remarks>Название типа клиента</remarks> | |
| 330 | + </column> | |
| 331 | + </folder> | |
| 332 | + <folder id="FOLTAB843" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 333 | + </folder> | |
| 334 | + <folder id="FOLTAB842" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 335 | + </folder> | |
| 336 | + <folder id="FOLTAB844" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 337 | + <index id="IDX87" populated="true" UUID="087e8ea6-88d4-4b4a-8975-c37b7afb3c37" clustered="false" name="gsmTypeContact_pk" physicalName="gsmTypeContact_pk" primaryKeyIndex="true" unique="false" > | |
| 338 | + <index-column id="IDC88" populated="true" UUID="663034f9-30dd-4539-a474-c65823f6b25d" ascendingOrDescending="UNSPECIFIED" column-ref="COL85" name="type_cont_id" physicalName="type_cont_id" /> | |
| 339 | + </index> | |
| 340 | + </folder> | |
| 341 | + </table> | |
| 342 | + <table id="TAB89" populated="true" UUID="e31c6645-ecac-4a56-9219-2cfa1b5ef6ca" name="gsmCliContacts" objectType="TABLE" physicalName="gsmCliContacts" > | |
| 343 | + <remarks>Контакты клиента</remarks> | |
| 344 | + <folder id="FOLTAB891" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 345 | + <column id="COL90" populated="true" UUID="56fc8cc5-e787-471e-938c-30f83bc8146c" autoIncrement="true" autoIncrementSequenceName="gsmCliContacts_clicontid_seq" defaultValue="" name="clicontid" nullable="0" physicalName="clicontid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 346 | + <remarks></remarks> | |
| 347 | + </column> | |
| 348 | + <column id="COL91" populated="true" UUID="b426b186-c5d7-4a48-8301-e391d4efb403" autoIncrement="false" autoIncrementSequenceName="gsmCli_cli_id_seq" defaultValue="" name="cli_id" nullable="0" physicalName="cli_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 349 | + <remarks>id клиента</remarks> | |
| 350 | + </column> | |
| 351 | + <column id="COL92" populated="true" UUID="73c6c018-b0fc-4706-b293-00cc5dfe097c" autoIncrement="false" autoIncrementSequenceName="gsmTypeContact_type_cont_id_seq" defaultValue="" name="type_cont_id" nullable="0" physicalName="type_cont_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 352 | + <remarks>id типа клиента</remarks> | |
| 353 | + </column> | |
| 354 | + <column id="COL93" populated="true" UUID="b3f25fef-5bb8-4404-b1e0-8420217b2f62" autoIncrement="false" autoIncrementSequenceName="gsmCliContacts_contact_seq" defaultValue="" name="contact" nullable="1" physicalName="contact" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 355 | + <remarks>Контакт</remarks> | |
| 356 | + </column> | |
| 357 | + </folder> | |
| 358 | + <folder id="FOLTAB893" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 359 | + </folder> | |
| 360 | + <folder id="FOLTAB892" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 361 | + </folder> | |
| 362 | + <folder id="FOLTAB894" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 363 | + <index id="IDX94" populated="true" UUID="2b79c31c-a28d-4e36-bd73-f55d1dac3aef" clustered="false" name="gsmCliContacts_pk" physicalName="gsmCliContacts_pk" primaryKeyIndex="true" unique="false" > | |
| 364 | + <index-column id="IDC95" populated="true" UUID="7e38558e-6d26-4af6-847d-d561fe6e8094" ascendingOrDescending="UNSPECIFIED" column-ref="COL90" name="clicontid" physicalName="clicontid" /> | |
| 365 | + </index> | |
| 366 | + </folder> | |
| 367 | + </table> | |
| 368 | + <table id="TAB96" populated="true" UUID="c6e3c110-024e-4e34-a3c6-793c327f1ab5" name="gsmPhoneComments" objectType="TABLE" physicalName="gsmPhoneComments" > | |
| 369 | + <remarks>Переговоры с контактом</remarks> | |
| 370 | + <folder id="FOLTAB961" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 371 | + <column id="COL97" populated="true" UUID="e48c2ad7-20de-4f66-bfc3-d57f135e474d" autoIncrement="true" autoIncrementSequenceName="gsmPhoneComments_phone_comment_id_seq" defaultValue="" name="phone_comment_id" nullable="0" physicalName="phone_comment_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 372 | + <remarks>id комментария</remarks> | |
| 373 | + </column> | |
| 374 | + <column id="COL98" populated="true" UUID="76d6ef71-61b2-4091-859d-6270bc1da900" autoIncrement="false" autoIncrementSequenceName="gsmPhoneComments_date_comment_seq" defaultValue="" name="date_comment" nullable="1" physicalName="date_comment" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 375 | + <remarks>Дата комментария</remarks> | |
| 376 | + </column> | |
| 377 | + <column id="COL99" populated="true" UUID="475d5f39-3586-4164-b289-4d93d56bbf95" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="1" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 378 | + <remarks></remarks> | |
| 379 | + </column> | |
| 380 | + <column id="COL100" populated="true" UUID="58a6c271-8d49-4b72-b867-3e101e3ae808" autoIncrement="false" autoIncrementSequenceName="gsmPhoneComments_comment_info_seq" defaultValue="" name="comment_info" nullable="1" physicalName="comment_info" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="-1" userDefinedTypeUUID="9a814859-ab26-4acd-9415-ea82291bcac1" > | |
| 381 | + <remarks>Примечание</remarks> | |
| 382 | + </column> | |
| 383 | + <column id="COL101" populated="true" UUID="5dcef47a-0e8d-4ce8-be1a-2e40ef7d630a" autoIncrement="false" autoIncrementSequenceName="gsmPhoneComments_username_seq" defaultValue="" name="username" nullable="1" physicalName="username" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 384 | + <remarks>Пользователь</remarks> | |
| 385 | + </column> | |
| 386 | + </folder> | |
| 387 | + <folder id="FOLTAB963" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 388 | + </folder> | |
| 389 | + <folder id="FOLTAB962" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 390 | + </folder> | |
| 391 | + <folder id="FOLTAB964" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 392 | + <index id="IDX102" populated="true" UUID="928beac8-aefe-4614-b8f6-a731ba1d2fd5" clustered="false" name="gsmPhoneComments_pk" physicalName="gsmPhoneComments_pk" primaryKeyIndex="true" unique="false" > | |
| 393 | + <index-column id="IDC103" populated="true" UUID="2f0c0426-ec5c-4fde-875e-f8b71831825c" ascendingOrDescending="UNSPECIFIED" column-ref="COL97" name="phone_comment_id" physicalName="phone_comment_id" /> | |
| 394 | + </index> | |
| 395 | + </folder> | |
| 396 | + </table> | |
| 397 | + <table id="TAB104" populated="true" UUID="8bcd9f67-9f1f-4d1a-a576-eae3612d2538" name="gsmPhoneTask" objectType="TABLE" physicalName="gsmPhoneTask" > | |
| 398 | + <remarks>Задачи</remarks> | |
| 399 | + <folder id="FOLTAB1041" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 400 | + <column id="COL105" populated="true" UUID="af894b0e-d18e-46d1-803c-e7d99229a6ce" autoIncrement="true" autoIncrementSequenceName="gsmPhoneTask_taskid_seq" defaultValue="" name="taskid" nullable="0" physicalName="taskid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 401 | + <remarks>id задачи</remarks> | |
| 402 | + </column> | |
| 403 | + <column id="COL106" populated="true" UUID="32590401-25a3-479d-ac70-c8b873d13e68" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="1" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 404 | + <remarks></remarks> | |
| 405 | + </column> | |
| 406 | + <column id="COL107" populated="true" UUID="3918e86b-c685-4ffd-a290-379f31847b72" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_date_task_seq" defaultValue="" name="date_task" nullable="1" physicalName="date_task" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 407 | + <remarks>Дата задачи</remarks> | |
| 408 | + </column> | |
| 409 | + <column id="COL108" populated="true" UUID="b1b0f203-307b-4ac1-b3b9-f188a6779de9" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_username_seq" defaultValue="" name="username" nullable="1" physicalName="username" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 410 | + <remarks>Пользователь</remarks> | |
| 411 | + </column> | |
| 412 | + <column id="COL109" populated="true" UUID="31f5c769-9905-4eed-828a-877c193b0c19" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_stat_seq" defaultValue="" name="stat" nullable="1" physicalName="stat" precision="5" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 413 | + <remarks>Статус задачи | |
| 414 | ++ - выполнена.</remarks> | |
| 415 | + </column> | |
| 416 | + <column id="COL110" populated="true" UUID="1b55608a-0f40-4084-83a1-c05af08525a1" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_task_mess_seq" defaultValue="" name="task_mess" nullable="1" physicalName="task_mess" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="-1" userDefinedTypeUUID="9a814859-ab26-4acd-9415-ea82291bcac1" > | |
| 417 | + <remarks>Описание задачи</remarks> | |
| 418 | + </column> | |
| 419 | + </folder> | |
| 420 | + <folder id="FOLTAB1043" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 421 | + </folder> | |
| 422 | + <folder id="FOLTAB1042" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 423 | + </folder> | |
| 424 | + <folder id="FOLTAB1044" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 425 | + <index id="IDX111" populated="true" UUID="0882ac8f-2313-4e2a-94ed-0cc9e3274346" clustered="false" name="gsmPhoneTask_pk" physicalName="gsmPhoneTask_pk" primaryKeyIndex="true" unique="false" > | |
| 426 | + <index-column id="IDC112" populated="true" UUID="cb7bb132-53a5-40ed-a01a-34a5d1a499cc" ascendingOrDescending="UNSPECIFIED" column-ref="COL105" name="taskid" physicalName="taskid" /> | |
| 427 | + </index> | |
| 428 | + </folder> | |
| 429 | + </table> | |
| 430 | + <table id="TAB113" populated="true" UUID="f43d334b-11ea-482a-893e-29fb95c0c23a" name="gsmKolSim" objectType="TABLE" physicalName="gsmKolSim" > | |
| 431 | + <remarks>Количество подключенных SIM-карт</remarks> | |
| 432 | + <folder id="FOLTAB1131" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 433 | + <column id="COL114" populated="true" UUID="675eed6d-2843-4b1a-b770-d6ccc554bc5f" autoIncrement="true" autoIncrementSequenceName="gsmKolSim_kol_sim_id_seq" defaultValue="" name="kol_sim_id" nullable="0" physicalName="kol_sim_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 434 | + <remarks>id SIM</remarks> | |
| 435 | + </column> | |
| 436 | + <column id="COL115" populated="true" UUID="24c12142-08b2-4bd2-8b41-c8cd7eaae3ad" autoIncrement="false" autoIncrementSequenceName="gsmKolSim_year_stat_seq" defaultValue="" name="year_stat" nullable="1" physicalName="year_stat" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 437 | + <remarks>Год</remarks> | |
| 438 | + </column> | |
| 439 | + <column id="COL116" populated="true" UUID="9a7babb2-4dee-4535-bb8f-3d89c152d993" autoIncrement="false" autoIncrementSequenceName="gsmKolSim_kol_sim_seq" defaultValue="" name="kol_sim" nullable="1" physicalName="kol_sim" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 440 | + <remarks>Количество подключенных SIM-карт</remarks> | |
| 441 | + </column> | |
| 442 | + </folder> | |
| 443 | + <folder id="FOLTAB1133" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 444 | + </folder> | |
| 445 | + <folder id="FOLTAB1132" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 446 | + </folder> | |
| 447 | + <folder id="FOLTAB1134" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 448 | + <index id="IDX117" populated="true" UUID="b08b5f49-6da1-4a7a-891f-9adfe200153b" clustered="false" name="gsmKolSim_pk" physicalName="gsmKolSim_pk" primaryKeyIndex="true" unique="false" > | |
| 449 | + <index-column id="IDC118" populated="true" UUID="25078850-95a6-4195-9d00-67a0ec88ad5d" ascendingOrDescending="UNSPECIFIED" column-ref="COL114" name="kol_sim_id" physicalName="kol_sim_id" /> | |
| 450 | + </index> | |
| 451 | + </folder> | |
| 452 | + </table> | |
| 453 | + <table id="TAB119" populated="true" UUID="e3d4762b-120b-4433-bf66-ac7ac1e0528c" name="gsmBalans" objectType="TABLE" physicalName="gsmBalans" > | |
| 454 | + <remarks>Баланс</remarks> | |
| 455 | + <folder id="FOLTAB1191" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 456 | + <column id="COL120" populated="true" UUID="ab6ba93e-fe7c-4ac2-9894-8be488e19104" autoIncrement="true" autoIncrementSequenceName="gsmBalans_balansid_seq" defaultValue="" name="balansid" nullable="0" physicalName="balansid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 457 | + <remarks>id баланса</remarks> | |
| 458 | + </column> | |
| 459 | + <column id="COL121" populated="true" UUID="3ee3812b-c33e-4722-9b0c-386424de34bf" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 460 | + <remarks></remarks> | |
| 461 | + </column> | |
| 462 | + <column id="COL122" populated="true" UUID="06b5592e-3144-4112-837d-fed23cbf265d" autoIncrement="false" autoIncrementSequenceName="gsmPeriods_periodid_seq" defaultValue="" name="periodid" nullable="0" physicalName="periodid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 463 | + <remarks>id периода</remarks> | |
| 464 | + </column> | |
| 465 | + <column id="COL123" populated="true" UUID="8d3397f7-8201-44ed-8433-50a5c61395e6" autoIncrement="false" autoIncrementSequenceName="gsmBalans_sum_balans_seq" defaultValue="0" name="sum_balans" nullable="1" physicalName="sum_balans" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 466 | + <remarks>Сумма баланса</remarks> | |
| 467 | + </column> | |
| 468 | + </folder> | |
| 469 | + <folder id="FOLTAB1193" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 470 | + </folder> | |
| 471 | + <folder id="FOLTAB1192" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 472 | + </folder> | |
| 473 | + <folder id="FOLTAB1194" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 474 | + <index id="IDX124" populated="true" UUID="507e84ae-1873-4b1d-836c-ff02cfb35787" clustered="false" name="gsmBalans_pk" physicalName="gsmBalans_pk" primaryKeyIndex="true" unique="false" > | |
| 475 | + <index-column id="IDC125" populated="true" UUID="0759a110-16e2-4992-89c6-504643179fc5" ascendingOrDescending="UNSPECIFIED" column-ref="COL120" name="balansid" physicalName="balansid" /> | |
| 476 | + </index> | |
| 477 | + </folder> | |
| 478 | + </table> | |
| 479 | + <table id="TAB126" populated="true" UUID="abd129ba-c83b-4162-a999-b2c7056746ef" name="gsmBonus" objectType="TABLE" physicalName="gsmBonus" > | |
| 480 | + <remarks>Бонус</remarks> | |
| 481 | + <folder id="FOLTAB1261" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 482 | + <column id="COL127" populated="true" UUID="412ef814-6cb5-44bc-86e6-38fb110ab193" autoIncrement="true" autoIncrementSequenceName="gsmBonus_bonusid_seq" defaultValue="" name="bonusid" nullable="0" physicalName="bonusid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 483 | + <remarks>id бонуса</remarks> | |
| 484 | + </column> | |
| 485 | + <column id="COL128" populated="true" UUID="7e0d7b96-7502-4eda-9e50-396c70f55e65" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 486 | + <remarks></remarks> | |
| 487 | + </column> | |
| 488 | + <column id="COL129" populated="true" UUID="ec51e27d-d084-4a94-a9da-4b294c423792" autoIncrement="false" autoIncrementSequenceName="gsmBonus_date_bonus_seq" defaultValue="" name="date_bonus" nullable="1" physicalName="date_bonus" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="91" userDefinedTypeUUID="ee349be3-6af2-46e1-b305-975f5354b009" > | |
| 489 | + <remarks>Дата бонуса</remarks> | |
| 490 | + </column> | |
| 491 | + <column id="COL130" populated="true" UUID="64f1ed67-167a-434d-9039-498428e10aa2" autoIncrement="false" autoIncrementSequenceName="gsmBonus_sum_bonus_seq" defaultValue="0" name="sum_bonus" nullable="1" physicalName="sum_bonus" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 492 | + <remarks>Сумма бонуса</remarks> | |
| 493 | + </column> | |
| 494 | + <column id="COL131" populated="true" UUID="e1816478-d3fc-4aad-95ba-8d54c4215a22" autoIncrement="false" autoIncrementSequenceName="gsmBonus_comment_bonus_seq" defaultValue="" name="comment_bonus" nullable="1" physicalName="comment_bonus" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 495 | + <remarks>Примечание к бонусу</remarks> | |
| 496 | + </column> | |
| 497 | + </folder> | |
| 498 | + <folder id="FOLTAB1263" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 499 | + </folder> | |
| 500 | + <folder id="FOLTAB1262" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 501 | + </folder> | |
| 502 | + <folder id="FOLTAB1264" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 503 | + <index id="IDX132" populated="true" UUID="5011e43d-b5ad-4d7b-941d-1bc261ca25b2" clustered="false" name="gsmBonus_pk" physicalName="gsmBonus_pk" primaryKeyIndex="true" unique="false" > | |
| 504 | + <index-column id="IDC133" populated="true" UUID="caed8a8b-260a-4524-85d8-190a16b02465" ascendingOrDescending="UNSPECIFIED" column-ref="COL127" name="bonusid" physicalName="bonusid" /> | |
| 505 | + </index> | |
| 506 | + </folder> | |
| 507 | + </table> | |
| 508 | + <table id="TAB134" populated="true" UUID="8743424c-d8b9-449e-9bbe-f935019b64d5" name="gsmPartners" objectType="TABLE" physicalName="gsmPartners" > | |
| 509 | + <remarks>Партнеры</remarks> | |
| 510 | + <folder id="FOLTAB1341" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 511 | + <column id="COL135" populated="true" UUID="53718853-2fed-4d46-a4d9-33d2917f87c1" autoIncrement="true" autoIncrementSequenceName="gsmPartners_partnerid_seq" defaultValue="" name="partnerid" nullable="0" physicalName="partnerid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 512 | + <remarks>id партнера</remarks> | |
| 513 | + </column> | |
| 514 | + <column id="COL136" populated="true" UUID="1e27dbbe-16b5-4217-9bbd-4fe982602243" autoIncrement="false" autoIncrementSequenceName="gsmPartners_name_partner_seq" defaultValue="" name="name_partner" nullable="1" physicalName="name_partner" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 515 | + <remarks>Название партнера</remarks> | |
| 516 | + </column> | |
| 517 | + <column id="COL137" populated="true" UUID="cdfc82e7-bd74-42dc-aed0-312abbfb8425" autoIncrement="false" autoIncrementSequenceName="gsmPartners_adres_fiz_seq" defaultValue="" name="adres_fiz" nullable="1" physicalName="adres_fiz" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 518 | + <remarks>Физический адрес</remarks> | |
| 519 | + </column> | |
| 520 | + <column id="COL138" populated="true" UUID="01759bc4-7d8e-4b0e-8684-7265ba383b02" autoIncrement="false" autoIncrementSequenceName="gsmPartners_rekv_otpr_seq" defaultValue="" name="rekv_otpr" nullable="1" physicalName="rekv_otpr" precision="512" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 521 | + <remarks>Реквизиты для отправки</remarks> | |
| 522 | + </column> | |
| 523 | + <column id="COL139" populated="true" UUID="257d1ada-3203-420a-8eaf-58588a61a436" autoIncrement="false" autoIncrementSequenceName="gsmProj_projid_seq" defaultValue="" name="projid" nullable="0" physicalName="projid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 524 | + <remarks>id проекта</remarks> | |
| 525 | + </column> | |
| 526 | + </folder> | |
| 527 | + <folder id="FOLTAB1343" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 528 | + </folder> | |
| 529 | + <folder id="FOLTAB1342" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 530 | + </folder> | |
| 531 | + <folder id="FOLTAB1344" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 532 | + <index id="IDX140" populated="true" UUID="d083708f-1840-464e-9e4f-725ab9cfefd5" clustered="false" name="gsmPartners_pk" physicalName="gsmPartners_pk" primaryKeyIndex="true" unique="false" > | |
| 533 | + <index-column id="IDC141" populated="true" UUID="7c9c2406-bb61-4b64-9836-f28bf1a25ecd" ascendingOrDescending="UNSPECIFIED" column-ref="COL135" name="partnerid" physicalName="partnerid" /> | |
| 534 | + </index> | |
| 535 | + </folder> | |
| 536 | + </table> | |
| 537 | + <table id="TAB142" populated="true" UUID="3d84d8c6-300f-4f26-9ffb-1060f8ef118c" name="gsmTov" objectType="TABLE" physicalName="gsmTov" > | |
| 538 | + <remarks>Товар</remarks> | |
| 539 | + <folder id="FOLTAB1421" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 540 | + <column id="COL143" populated="true" UUID="b0d426f9-bf1f-493f-b445-6c6d726c5349" autoIncrement="true" autoIncrementSequenceName="gsmTov_tovid_seq" defaultValue="" name="tovid" nullable="0" physicalName="tovid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 541 | + <remarks>id товара</remarks> | |
| 542 | + </column> | |
| 543 | + <column id="COL144" populated="true" UUID="c2455094-b33f-4b85-b8ce-581bbb709579" autoIncrement="false" autoIncrementSequenceName="gsmTov_name_tov_seq" defaultValue="" name="name_tov" nullable="1" physicalName="name_tov" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 544 | + <remarks>Название товара</remarks> | |
| 545 | + </column> | |
| 546 | + <column id="COL145" populated="true" UUID="1cc3aa85-c8e3-4757-89bf-bba7e9e39596" autoIncrement="false" autoIncrementSequenceName="gsmTov_comment_tov_seq" defaultValue="" name="comment_tov" nullable="1" physicalName="comment_tov" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 547 | + <remarks>Примечание к товару</remarks> | |
| 548 | + </column> | |
| 549 | + </folder> | |
| 550 | + <folder id="FOLTAB1423" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 551 | + </folder> | |
| 552 | + <folder id="FOLTAB1422" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 553 | + </folder> | |
| 554 | + <folder id="FOLTAB1424" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 555 | + <index id="IDX146" populated="true" UUID="ee17a6e1-2574-437b-b120-753f6f36845f" clustered="false" name="gsmTov_pk" physicalName="gsmTov_pk" primaryKeyIndex="true" unique="false" > | |
| 556 | + <index-column id="IDC147" populated="true" UUID="d50758f3-a2c7-409d-8a9b-68586a21b6b2" ascendingOrDescending="UNSPECIFIED" column-ref="COL143" name="tovid" physicalName="tovid" /> | |
| 557 | + </index> | |
| 558 | + </folder> | |
| 559 | + </table> | |
| 560 | + <table id="TAB148" populated="true" UUID="90cc565b-9497-49cb-ac4a-60a5d5ed008f" name="gsmPartnerCont" objectType="TABLE" physicalName="gsmPartnerCont" > | |
| 561 | + <remarks>Контакты партнеров</remarks> | |
| 562 | + <folder id="FOLTAB1481" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 563 | + <column id="COL149" populated="true" UUID="dc37c374-6590-47fe-b59d-82366479f230" autoIncrement="true" autoIncrementSequenceName="gsmPartnerCont_partn_contid_seq" defaultValue="" name="partn_contid" nullable="0" physicalName="partn_contid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 564 | + <remarks>id контакта партнера</remarks> | |
| 565 | + </column> | |
| 566 | + <column id="COL150" populated="true" UUID="456a1e98-5610-448b-9638-195d023d202f" autoIncrement="false" autoIncrementSequenceName="gsmPartners_partnerid_seq" defaultValue="" name="partnerid" nullable="0" physicalName="partnerid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 567 | + <remarks>id партнера</remarks> | |
| 568 | + </column> | |
| 569 | + <column id="COL151" populated="true" UUID="757da695-eb94-4b7b-8dde-4a461e32afaa" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_fio_cont_seq" defaultValue="" name="fio_cont" nullable="1" physicalName="fio_cont" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 570 | + <remarks>ФИО контакта</remarks> | |
| 571 | + </column> | |
| 572 | + <column id="COL152" populated="true" UUID="9c240c99-4c5c-4f88-8f0f-5dd79163b78f" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_phone_cont_seq" defaultValue="" name="phone_cont" nullable="1" physicalName="phone_cont" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 573 | + <remarks>Телефон контакта</remarks> | |
| 574 | + </column> | |
| 575 | + <column id="COL153" populated="true" UUID="c52f4c0c-92bf-4448-bc34-52c442628bc1" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_omment_cont_seq" defaultValue="" name="omment_cont" nullable="1" physicalName="omment_cont" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 576 | + <remarks>Примечания к контакту</remarks> | |
| 577 | + </column> | |
| 578 | + <column id="COL154" populated="true" UUID="174639ab-19fb-4d13-a395-4aadc654a7bc" autoIncrement="false" autoIncrementSequenceName="gsmDolgn_dolgnid_seq" defaultValue="" name="dolgnid" nullable="0" physicalName="dolgnid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 579 | + <remarks>id должности</remarks> | |
| 580 | + </column> | |
| 581 | + </folder> | |
| 582 | + <folder id="FOLTAB1483" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 583 | + </folder> | |
| 584 | + <folder id="FOLTAB1482" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 585 | + </folder> | |
| 586 | + <folder id="FOLTAB1484" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 587 | + <index id="IDX155" populated="true" UUID="52afdac6-1f99-4d02-ac74-25e9846eba06" clustered="false" name="gsmPartnerCont_pk" physicalName="gsmPartnerCont_pk" primaryKeyIndex="true" unique="false" > | |
| 588 | + <index-column id="IDC156" populated="true" UUID="2bce9b61-a89f-47b3-9d51-25fd23547a15" ascendingOrDescending="UNSPECIFIED" column-ref="COL149" name="partn_contid" physicalName="partn_contid" /> | |
| 589 | + </index> | |
| 590 | + </folder> | |
| 591 | + </table> | |
| 592 | + <table id="TAB157" populated="true" UUID="957c29aa-c5bc-418e-a7aa-dbc72386da94" name="gsmDolgn" objectType="TABLE" physicalName="gsmDolgn" > | |
| 593 | + <remarks>Должности</remarks> | |
| 594 | + <folder id="FOLTAB1571" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 595 | + <column id="COL158" populated="true" UUID="5aa93db7-283e-44b1-b2b6-85a080480b4d" autoIncrement="true" autoIncrementSequenceName="gsmDolgn_dolgnid_seq" defaultValue="" name="dolgnid" nullable="0" physicalName="dolgnid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 596 | + <remarks>id должности</remarks> | |
| 597 | + </column> | |
| 598 | + <column id="COL159" populated="true" UUID="7b4f0ead-9939-4f2e-9898-593794b6b7d7" autoIncrement="false" autoIncrementSequenceName="gsmDolgn_name_dolgn_seq" defaultValue="" name="name_dolgn" nullable="0" physicalName="name_dolgn" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 599 | + <remarks>Название должности</remarks> | |
| 600 | + </column> | |
| 601 | + </folder> | |
| 602 | + <folder id="FOLTAB1573" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 603 | + </folder> | |
| 604 | + <folder id="FOLTAB1572" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 605 | + </folder> | |
| 606 | + <folder id="FOLTAB1574" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 607 | + <index id="IDX160" populated="true" UUID="3e5f3a6a-2bec-450f-ab10-b19e374140e3" clustered="false" name="gsmDolgn_pk" physicalName="gsmDolgn_pk" primaryKeyIndex="true" unique="false" > | |
| 608 | + <index-column id="IDC161" populated="true" UUID="d4ede2a4-3978-4b55-ac2e-9e5958677c5f" ascendingOrDescending="UNSPECIFIED" column-ref="COL158" name="dolgnid" physicalName="dolgnid" /> | |
| 609 | + </index> | |
| 610 | + </folder> | |
| 611 | + </table> | |
| 612 | + <table id="TAB162" populated="true" UUID="396ba542-6fd5-44f8-8aed-dbc574e593a1" name="gsmSklad" objectType="TABLE" physicalName="gsmSklad" > | |
| 613 | + <remarks>Склад</remarks> | |
| 614 | + <folder id="FOLTAB1621" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 615 | + <column id="COL163" populated="true" UUID="0ff78117-320c-49e4-96aa-ffa0a8d4fae2" autoIncrement="true" autoIncrementSequenceName="gsmSklad_skladid_seq" defaultValue="" name="skladid" nullable="0" physicalName="skladid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 616 | + <remarks>id записи склада</remarks> | |
| 617 | + </column> | |
| 618 | + <column id="COL164" populated="true" UUID="8cbdf3bb-71c5-4728-a772-c876bb1ac518" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_partn_contid_seq" defaultValue="" name="partn_contid" nullable="0" physicalName="partn_contid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 619 | + <remarks>id контакта партнера</remarks> | |
| 620 | + </column> | |
| 621 | + <column id="COL165" populated="true" UUID="af410980-4390-4488-b650-50802473272b" autoIncrement="false" autoIncrementSequenceName="gsmSklad_name_cli_seq" defaultValue="" name="name_cli" nullable="1" physicalName="name_cli" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 622 | + <remarks>Название клиента, которому дали карту</remarks> | |
| 623 | + </column> | |
| 624 | + <column id="COL166" populated="true" UUID="32e31e13-e148-4cc3-9c23-f210589ec053" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 625 | + <remarks></remarks> | |
| 626 | + </column> | |
| 627 | + </folder> | |
| 628 | + <folder id="FOLTAB1623" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 629 | + </folder> | |
| 630 | + <folder id="FOLTAB1622" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 631 | + </folder> | |
| 632 | + <folder id="FOLTAB1624" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 633 | + <index id="IDX167" populated="true" UUID="997024ea-49c7-4d63-b162-167506faa8a2" clustered="false" name="gsmSklad_pk" physicalName="gsmSklad_pk" primaryKeyIndex="true" unique="false" > | |
| 634 | + <index-column id="IDC168" populated="true" UUID="5e1275fc-4110-4dc2-a622-7f3360f366f6" ascendingOrDescending="UNSPECIFIED" column-ref="COL163" name="skladid" physicalName="skladid" /> | |
| 635 | + </index> | |
| 636 | + </folder> | |
| 637 | + </table> | |
| 638 | + <table id="TAB169" populated="true" UUID="de389b1c-8ad6-4426-bc86-f9e12f37ed09" name="gsmTovPartner" objectType="TABLE" physicalName="gsmTovPartner" > | |
| 639 | + <remarks></remarks> | |
| 640 | + <folder id="FOLTAB1691" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 641 | + <column id="COL170" populated="true" UUID="9e4a194b-24f6-46ed-aca7-dcfd2806590a" autoIncrement="false" autoIncrementSequenceName="gsmTovPartner_tovpartnerid_seq" defaultValue="" name="tovpartnerid" nullable="0" physicalName="tovpartnerid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 642 | + <remarks>id товара партнера</remarks> | |
| 643 | + </column> | |
| 644 | + <column id="COL171" populated="true" UUID="062487cc-8339-4f50-aa74-904d1658f656" autoIncrement="false" autoIncrementSequenceName="gsmTov_tovid_seq" defaultValue="" name="tovid" nullable="0" physicalName="tovid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 645 | + <remarks>id товара</remarks> | |
| 646 | + </column> | |
| 647 | + <column id="COL172" populated="true" UUID="303b849c-a0de-4b07-a5da-8ec3b70b8032" autoIncrement="false" autoIncrementSequenceName="gsmPartners_cena_tov_seq" defaultValue="0" name="cena_tov" nullable="0" physicalName="cena_tov" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 648 | + <remarks>Условия поставки</remarks> | |
| 649 | + </column> | |
| 650 | + <column id="COL173" populated="true" UUID="50ebaf81-f2ad-42c6-847d-42c6a3a4bc99" autoIncrement="false" autoIncrementSequenceName="gsmPartners_oplat_nam_seq" defaultValue="0" name="oplat_nam" nullable="0" physicalName="oplat_nam" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 651 | + <remarks>Оплата нам</remarks> | |
| 652 | + </column> | |
| 653 | + <column id="COL174" populated="true" UUID="4da653cc-a231-4cd7-a711-7ef4301fc356" autoIncrement="false" autoIncrementSequenceName="gsmPartners_partnerid_seq" defaultValue="" name="partnerid" nullable="0" physicalName="partnerid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 654 | + <remarks>id партнера</remarks> | |
| 655 | + </column> | |
| 656 | + </folder> | |
| 657 | + <folder id="FOLTAB1693" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 658 | + </folder> | |
| 659 | + <folder id="FOLTAB1692" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 660 | + </folder> | |
| 661 | + <folder id="FOLTAB1694" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 662 | + <index id="IDX175" populated="true" UUID="d760380c-8e41-401f-a48f-3363fd3cb3d9" clustered="false" name="TovPartner_pk" physicalName="TovPartner_pk" primaryKeyIndex="true" unique="false" > | |
| 663 | + <index-column id="IDC176" populated="true" UUID="13160c86-21a4-4364-9300-d3cb6eec1611" ascendingOrDescending="UNSPECIFIED" column-ref="COL170" name="tovpartnerid" physicalName="tovpartnerid" /> | |
| 664 | + </index> | |
| 665 | + </folder> | |
| 666 | + </table> | |
| 667 | + <relationships> | |
| 668 | + <relationship id="REL177" populated="true" UUID="a003f05c-c984-45a3-827f-434644cf7d18" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmAcc_gsmPhones_fk" physicalName="gsmAcc_gsmPhones_fk" pk-table-ref="TAB1" pkCardinality="2" updateRule="0" > | |
| 669 | + <column-mapping id="CMP178" populated="true" UUID="da750d09-9a28-45fd-9c2a-4cfaaffa9e6e" fk-column-ref="COL12" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL2" /> | |
| 670 | + </relationship> | |
| 671 | + <relationship id="REL179" populated="true" UUID="c6fd9886-a4b8-4500-8447-22e78e1a5dab" deferrability="7" deleteRule="0" fk-table-ref="TAB59" fkCardinality="7" identifying="false" name="gsmPhones_gsmPackPhones_fk" physicalName="gsmPhones_gsmPackPhones_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 672 | + <column-mapping id="CMP180" populated="true" UUID="33b695c0-40d8-47ed-845d-7fb28d6df994" fk-column-ref="COL61" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 673 | + </relationship> | |
| 674 | + <relationship id="REL181" populated="true" UUID="c3835d2b-1c5c-4ac8-a373-9a3a8cd87b66" deferrability="7" deleteRule="0" fk-table-ref="TAB65" fkCardinality="7" identifying="false" name="gsmPhones_gsmActivePhone_fk" physicalName="gsmPhones_gsmActivePhone_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 675 | + <column-mapping id="CMP182" populated="true" UUID="4763186e-2d16-4b61-b694-cd8405463197" fk-column-ref="COL67" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 676 | + </relationship> | |
| 677 | + <relationship id="REL183" populated="true" UUID="52be6913-6b27-412e-961f-94f1447da0b1" deferrability="7" deleteRule="0" fk-table-ref="TAB96" fkCardinality="7" identifying="false" name="gsmPhones_gsmPhoneComments_fk" physicalName="gsmPhones_gsmPhoneComments_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 678 | + <column-mapping id="CMP184" populated="true" UUID="92c2cad8-06e5-4c2a-b55e-8deb5fbbd3d3" fk-column-ref="COL99" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 679 | + </relationship> | |
| 680 | + <relationship id="REL185" populated="true" UUID="207b1536-f651-403a-9fdc-66105179bd86" deferrability="7" deleteRule="0" fk-table-ref="TAB104" fkCardinality="7" identifying="false" name="gsmPhones_gsmPhoneTask_fk" physicalName="gsmPhones_gsmPhoneTask_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 681 | + <column-mapping id="CMP186" populated="true" UUID="0349af81-56af-4eee-a2fc-61ea4dc90533" fk-column-ref="COL106" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 682 | + </relationship> | |
| 683 | + <relationship id="REL187" populated="true" UUID="154958d5-7790-4a22-8467-1fffdb2ef384" deferrability="7" deleteRule="0" fk-table-ref="TAB119" fkCardinality="7" identifying="false" name="gsmPhones_gsmBalans_fk" physicalName="gsmPhones_gsmBalans_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 684 | + <column-mapping id="CMP188" populated="true" UUID="937188b5-ec8e-495a-a073-378dea03758b" fk-column-ref="COL121" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 685 | + </relationship> | |
| 686 | + <relationship id="REL189" populated="true" UUID="f837e89e-db89-4aa3-9e24-0748cf372e78" deferrability="7" deleteRule="0" fk-table-ref="TAB126" fkCardinality="7" identifying="false" name="gsmPhones_gsmBonus_fk" physicalName="gsmPhones_gsmBonus_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 687 | + <column-mapping id="CMP190" populated="true" UUID="8f6947e2-7d0a-4dca-8c0c-97a09fa795ac" fk-column-ref="COL128" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 688 | + </relationship> | |
| 689 | + <relationship id="REL191" populated="true" UUID="6083585b-2eb0-4f53-8f62-f8ed0308b555" deferrability="7" deleteRule="1" fk-table-ref="TAB162" fkCardinality="7" identifying="false" name="gsmPhones_gsmSklad_fk" physicalName="gsmPhones_gsmSklad_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 690 | + <column-mapping id="CMP192" populated="true" UUID="510e04fe-a2db-489e-ad32-71de7d565726" fk-column-ref="COL166" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 691 | + </relationship> | |
| 692 | + <relationship id="REL193" populated="true" UUID="36a1eb11-d8e4-4d43-b238-2fea8fa2bfa9" deferrability="7" deleteRule="1" fk-table-ref="TAB1" fkCardinality="7" identifying="false" name="gsmAccStatus_gsmAcc_fk" physicalName="gsmAccStatus_gsmAcc_fk" pk-table-ref="TAB21" pkCardinality="2" updateRule="0" > | |
| 693 | + <column-mapping id="CMP194" populated="true" UUID="91a61bff-edc8-4529-a83c-ae9edefd9481" fk-column-ref="COL4" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL22" /> | |
| 694 | + </relationship> | |
| 695 | + <relationship id="REL195" populated="true" UUID="003dd1ae-9508-4d91-9f29-86e22c37dca0" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmAccStatus_gsmPhones_fk" physicalName="gsmAccStatus_gsmPhones_fk" pk-table-ref="TAB21" pkCardinality="2" updateRule="0" > | |
| 696 | + <column-mapping id="CMP196" populated="true" UUID="b2d8ceb8-b0d5-42f6-9649-aa8d6bc4be7c" fk-column-ref="COL13" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL22" /> | |
| 697 | + </relationship> | |
| 698 | + <relationship id="REL197" populated="true" UUID="a9a69742-4db5-4007-8a25-2ed86750dea8" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmControl_gsmPhones_fk" physicalName="gsmControl_gsmPhones_fk" pk-table-ref="TAB27" pkCardinality="2" updateRule="0" > | |
| 699 | + <column-mapping id="CMP198" populated="true" UUID="aa1b3e81-0cc0-4210-95f0-cebae74ee2c5" fk-column-ref="COL14" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL28" /> | |
| 700 | + </relationship> | |
| 701 | + <relationship id="REL199" populated="true" UUID="88e17e8a-36ff-4721-be03-a08a64de4baa" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmProj_gsmPhones_fk" physicalName="gsmProj_gsmPhones_fk" pk-table-ref="TAB33" pkCardinality="2" updateRule="0" > | |
| 702 | + <column-mapping id="CMP200" populated="true" UUID="f6251e6d-8a0f-4671-8bdb-aaa949523a84" fk-column-ref="COL15" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL34" /> | |
| 703 | + </relationship> | |
| 704 | + <relationship id="REL201" populated="true" UUID="f9947879-19c6-4310-9850-d8f5c80d37c7" deferrability="7" deleteRule="0" fk-table-ref="TAB134" fkCardinality="7" identifying="false" name="gsmProj_gsmPartners_fk" physicalName="gsmProj_gsmPartners_fk" pk-table-ref="TAB33" pkCardinality="2" updateRule="0" > | |
| 705 | + <column-mapping id="CMP202" populated="true" UUID="e413230f-c753-4b2f-9360-ba860954db08" fk-column-ref="COL139" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL34" /> | |
| 706 | + </relationship> | |
| 707 | + <relationship id="REL203" populated="true" UUID="abec855f-4b40-4fc5-8610-24ec70f26f3a" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmTarifs_gsmPhones_fk" physicalName="gsmTarifs_gsmPhones_fk" pk-table-ref="TAB39" pkCardinality="2" updateRule="0" > | |
| 708 | + <column-mapping id="CMP204" populated="true" UUID="15ee91d2-9c5e-47e5-8ce2-681452a5ae2e" fk-column-ref="COL16" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL40" /> | |
| 709 | + </relationship> | |
| 710 | + <relationship id="REL205" populated="true" UUID="34d7107e-c272-43d5-923b-211c24952ff9" deferrability="7" deleteRule="1" fk-table-ref="TAB53" fkCardinality="7" identifying="false" name="gsmGroupPack_gsmPackName_fk" physicalName="gsmGroupPack_gsmPackName_fk" pk-table-ref="TAB46" pkCardinality="2" updateRule="0" > | |
| 711 | + <column-mapping id="CMP206" populated="true" UUID="a43a930e-e413-4975-9c21-b8e4d4339a97" fk-column-ref="COL55" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL47" /> | |
| 712 | + </relationship> | |
| 713 | + <relationship id="REL207" populated="true" UUID="dfaf760d-4cdb-47e4-9f89-b0371ea6a1d1" deferrability="7" deleteRule="1" fk-table-ref="TAB59" fkCardinality="7" identifying="false" name="gsmPackName_gsmPackPhones_fk" physicalName="gsmPackName_gsmPackPhones_fk" pk-table-ref="TAB53" pkCardinality="2" updateRule="0" > | |
| 714 | + <column-mapping id="CMP208" populated="true" UUID="3a5f91e0-8020-48be-981d-e1ceb0c90d0d" fk-column-ref="COL62" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL54" /> | |
| 715 | + </relationship> | |
| 716 | + <relationship id="REL209" populated="true" UUID="7b60418f-f8a7-4461-aaf2-9e7bb03569f0" deferrability="7" deleteRule="0" fk-table-ref="TAB119" fkCardinality="7" identifying="false" name="gsmPeriods_gsmBalans_fk" physicalName="gsmPeriods_gsmBalans_fk" pk-table-ref="TAB72" pkCardinality="2" updateRule="0" > | |
| 717 | + <column-mapping id="CMP210" populated="true" UUID="22e48d6e-a378-49a1-a482-106f87936330" fk-column-ref="COL122" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL73" /> | |
| 718 | + </relationship> | |
| 719 | + <relationship id="REL211" populated="true" UUID="70fbad38-cb0b-4cef-9416-29dc81bce74b" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmCli_gsmPhones_fk" physicalName="gsmCli_gsmPhones_fk" pk-table-ref="TAB78" pkCardinality="2" updateRule="0" > | |
| 720 | + <column-mapping id="CMP212" populated="true" UUID="2b5ddd1d-5ff4-44b4-bb2f-6e9ba594fdba" fk-column-ref="COL18" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL79" /> | |
| 721 | + </relationship> | |
| 722 | + <relationship id="REL213" populated="true" UUID="8ff13d72-dd41-488f-9ce1-e649d91d5c84" deferrability="7" deleteRule="0" fk-table-ref="TAB89" fkCardinality="7" identifying="false" name="gsmCli_gsmCliContacts_fk" physicalName="gsmCli_gsmCliContacts_fk" pk-table-ref="TAB78" pkCardinality="2" updateRule="0" > | |
| 723 | + <column-mapping id="CMP214" populated="true" UUID="cabd89db-d13b-4419-b573-c004d3b35590" fk-column-ref="COL91" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL79" /> | |
| 724 | + </relationship> | |
| 725 | + <relationship id="REL215" populated="true" UUID="0e9f5a5b-a24e-421f-afed-f24b248680c9" deferrability="7" deleteRule="1" fk-table-ref="TAB89" fkCardinality="7" identifying="false" name="gsmTypeContact_gsmCliContacts_fk" physicalName="gsmTypeContact_gsmCliContacts_fk" pk-table-ref="TAB84" pkCardinality="2" updateRule="0" > | |
| 726 | + <column-mapping id="CMP216" populated="true" UUID="1debf62b-11a6-4944-b8c5-8b9d0ca94958" fk-column-ref="COL92" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL85" /> | |
| 727 | + </relationship> | |
| 728 | + <relationship id="REL217" populated="true" UUID="c70122ee-eb89-4606-ae92-c7817b2666fb" deferrability="7" deleteRule="0" fk-table-ref="TAB148" fkCardinality="7" identifying="false" name="gsmPartners_gsmPartnerCont_fk" physicalName="gsmPartners_gsmPartnerCont_fk" pk-table-ref="TAB134" pkCardinality="2" updateRule="0" > | |
| 729 | + <column-mapping id="CMP218" populated="true" UUID="b228ee0f-adbb-4346-b535-33c3d49ed8ec" fk-column-ref="COL150" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL135" /> | |
| 730 | + </relationship> | |
| 731 | + <relationship id="REL219" populated="true" UUID="35772a0a-4247-4332-8353-88090ec6ddc6" deferrability="7" deleteRule="0" fk-table-ref="TAB169" fkCardinality="7" identifying="false" name="gsmPartners_gsmTovPartner_fk" physicalName="gsmPartners_gsmTovPartner_fk" pk-table-ref="TAB134" pkCardinality="2" updateRule="0" > | |
| 732 | + <column-mapping id="CMP220" populated="true" UUID="5b0b42d2-9506-45e7-80db-d1fa9d520ac5" fk-column-ref="COL174" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL135" /> | |
| 733 | + </relationship> | |
| 734 | + <relationship id="REL221" populated="true" UUID="5e4edaf3-68f3-4d8b-acb3-963ccd40859a" deferrability="7" deleteRule="0" fk-table-ref="TAB169" fkCardinality="7" identifying="false" name="gsmTov_gsmTovPartner_fk" physicalName="gsmTov_gsmTovPartner_fk" pk-table-ref="TAB142" pkCardinality="2" updateRule="0" > | |
| 735 | + <column-mapping id="CMP222" populated="true" UUID="ff8cb395-faf0-46b7-9bf8-4a0f592eda62" fk-column-ref="COL171" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL143" /> | |
| 736 | + </relationship> | |
| 737 | + <relationship id="REL223" populated="true" UUID="385bc0dc-7503-4277-af13-cb1a3a89a598" deferrability="7" deleteRule="0" fk-table-ref="TAB162" fkCardinality="7" identifying="false" name="gsmPartnerCont_gsmSklad_fk" physicalName="gsmPartnerCont_gsmSklad_fk" pk-table-ref="TAB148" pkCardinality="2" updateRule="0" > | |
| 738 | + <column-mapping id="CMP224" populated="true" UUID="a802710b-2bb2-4d15-98ad-c94b38de0f04" fk-column-ref="COL164" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL149" /> | |
| 739 | + </relationship> | |
| 740 | + <relationship id="REL225" populated="true" UUID="74b8c583-66eb-4d11-95d1-fd322f2c2af4" deferrability="7" deleteRule="1" fk-table-ref="TAB148" fkCardinality="7" identifying="false" name="gsmDolgn_gsmPartnerCont_fk" physicalName="gsmDolgn_gsmPartnerCont_fk" pk-table-ref="TAB157" pkCardinality="2" updateRule="0" > | |
| 741 | + <column-mapping id="CMP226" populated="true" UUID="46f4be0c-f6ea-4b9c-8d95-d9be6eb5410c" fk-column-ref="COL154" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL158" /> | |
| 742 | + </relationship> | |
| 743 | + </relationships> | |
| 744 | + </target-database> | |
| 745 | + <ddl-generator type="ca.sqlpower.architect.ddl.GenericDDLGenerator" allow-connection="true"> </ddl-generator> | |
| 746 | + <liquibase-settings useSeparateChangeSets="false" generateId="false" idStart="1"/> | |
| 747 | + <create-kettle-job-settings filePath="" jobName="" schemaName="" kettleJoinType="0" savingToFile="true" /> | |
| 748 | + <play-pen zoom="1.0" viewportX="0" viewportY="0" relationship-style="direct" names-displayLogicalNames="true" showPrimaryTag="true" showForeignTag="true" showAlternateTag="true" columnVisibility="ALL" relationshipLabelVisibility="true"> | |
| 749 | + <table-pane table-ref="TAB1" x="46" y="212" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 750 | + <table-pane table-ref="TAB9" x="452" y="363" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 751 | + <table-pane table-ref="TAB21" x="43" y="403" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 752 | + <table-pane table-ref="TAB27" x="58" y="45" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 753 | + <table-pane table-ref="TAB33" x="56" y="126" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 754 | + <table-pane table-ref="TAB39" x="720" y="586" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 755 | + <table-pane table-ref="TAB46" x="334" y="763" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 756 | + <table-pane table-ref="TAB53" x="641" y="748" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 757 | + <table-pane table-ref="TAB59" x="434" y="600" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 758 | + <table-pane table-ref="TAB65" x="1181" y="304" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 759 | + <table-pane table-ref="TAB72" x="1192" y="179" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 760 | + <table-pane table-ref="TAB78" x="998" y="557" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 761 | + <table-pane table-ref="TAB84" x="1111" y="833" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 762 | + <table-pane table-ref="TAB89" x="1098" y="698" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 763 | + <table-pane table-ref="TAB96" x="55" y="537" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 764 | + <table-pane table-ref="TAB104" x="118" y="743" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 765 | + <table-pane table-ref="TAB113" x="866" y="804" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 766 | + <table-pane table-ref="TAB119" x="884" y="299" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 767 | + <table-pane table-ref="TAB126" x="868" y="176" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 768 | + <table-pane table-ref="TAB134" x="336" y="33" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 769 | + <table-pane table-ref="TAB142" x="835" y="20" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 770 | + <table-pane table-ref="TAB148" x="444" y="222" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 771 | + <table-pane table-ref="TAB157" x="945" y="110" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 772 | + <table-pane table-ref="TAB162" x="1191" y="464" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 773 | + <table-pane table-ref="TAB169" x="585" y="70" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 774 | + <table-link relationship-ref="REL177" pkConnection="0.47368421052631576" fkConnection="0.5070422535211268" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 775 | + <table-link relationship-ref="REL193" pkConnection="0.49760765550239233" fkConnection="0.49760765550239233" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 776 | + <table-link relationship-ref="REL195" pkConnection="0.16901408450704225" fkConnection="0.6451612903225806" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 777 | + <table-link relationship-ref="REL197" pkConnection="0.8591549295774648" fkConnection="0.23870967741935484" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 778 | + <table-link relationship-ref="REL199" pkConnection="0.8450704225352113" fkConnection="0.2967741935483871" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 779 | + <table-link relationship-ref="REL203" pkConnection="0.23976608187134502" fkConnection="0.8708133971291866" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 780 | + <table-link relationship-ref="REL205" pkConnection="0.49295774647887325" fkConnection="0.49122807017543857" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 781 | + <table-link relationship-ref="REL179" pkConnection="0.45454545454545453" fkConnection="0.5123152709359606" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 782 | + <table-link relationship-ref="REL207" pkConnection="0.2981651376146789" fkConnection="0.7061611374407583" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 783 | + <table-link relationship-ref="REL181" pkConnection="0.952755905511811" fkConnection="0.7543859649122807" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 784 | + <table-link relationship-ref="REL211" pkConnection="0.5087719298245614" fkConnection="1.0" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 785 | + <table-link relationship-ref="REL213" pkConnection="0.608433734939759" fkConnection="0.4143646408839779" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 786 | + <table-link relationship-ref="REL215" pkConnection="0.5922330097087378" fkConnection="0.3446601941747573" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 787 | + <table-link relationship-ref="REL183" pkConnection="0.11483253588516747" fkConnection="0.6228813559322034" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 788 | + <table-link relationship-ref="REL185" pkConnection="0.3588516746411483" fkConnection="0.5580110497237569" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 789 | + <table-link relationship-ref="REL187" pkConnection="0.4645161290322581" fkConnection="0.5614035087719298" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 790 | + <table-link relationship-ref="REL209" pkConnection="0.5211267605633803" fkConnection="0.5211267605633803" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 791 | + <table-link relationship-ref="REL189" pkConnection="0.16129032258064516" fkConnection="0.5151515151515151" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 792 | + <table-link relationship-ref="REL201" pkConnection="0.4788732394366197" fkConnection="0.9191919191919192" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 793 | + <table-link relationship-ref="REL217" pkConnection="0.5384615384615384" fkConnection="0.4852941176470588" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 794 | + <table-link relationship-ref="REL225" pkConnection="0.3684210526315789" fkConnection="0.831858407079646" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 795 | + <table-link relationship-ref="REL223" pkConnection="0.7522123893805309" fkConnection="0.6338028169014085" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 796 | + <table-link relationship-ref="REL221" pkConnection="0.39436619718309857" fkConnection="0.48484848484848486" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 797 | + <table-link relationship-ref="REL219" pkConnection="0.898989898989899" fkConnection="0.898989898989899" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 798 | + <table-link relationship-ref="REL191" pkConnection="0.5548387096774193" fkConnection="0.8941176470588236" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 799 | + </play-pen> | |
| 800 | + <critic-manager> | |
| 801 | + <critic-grouping platformType="Generic" enabled="true"> | |
| 802 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.PrimaryKeyCritic" severity="ERROR"/> | |
| 803 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.RelationshipMappingTypeCritic" severity="ERROR"/> | |
| 804 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.EmptyRelationshipCritic" severity="ERROR"/> | |
| 805 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.AlphaNumericNameCritic" severity="ERROR"/> | |
| 806 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.AlphaNumericSequenceNameCritic" severity="ERROR"/> | |
| 807 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SetDefaultOnColumnWithNoDefaultCritic" severity="ERROR"/> | |
| 808 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SetNullOnNonNullableColumnCritic" severity="ERROR"/> | |
| 809 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.DuplicateNameCritic" severity="ERROR"/> | |
| 810 | + </critic-grouping> | |
| 811 | + <critic-grouping platformType="DB2" enabled="true"> | |
| 812 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.DB2UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 813 | + </critic-grouping> | |
| 814 | + <critic-grouping platformType="H2" enabled="true"> | |
| 815 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.H2UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 816 | + </critic-grouping> | |
| 817 | + <critic-grouping platformType="HSQLDB" enabled="true"> | |
| 818 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.HSQLDBUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 819 | + </critic-grouping> | |
| 820 | + <critic-grouping platformType="MySQL" enabled="true"> | |
| 821 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.MySQLCommentCritic" severity="ERROR"/> | |
| 822 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.MySQLReservedWordsCritic" severity="ERROR"/> | |
| 823 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.MySQLUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 824 | + </critic-grouping> | |
| 825 | + <critic-grouping platformType="Oracle" enabled="true"> | |
| 826 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.OraclePhysicalNameCritic" severity="ERROR"/> | |
| 827 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.OracleReservedWordsCritic" severity="ERROR"/> | |
| 828 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.OracleUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 829 | + </critic-grouping> | |
| 830 | + <critic-grouping platformType="PostgreSQL" enabled="true"> | |
| 831 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.PostgreSQLReservedWordsCritic" severity="ERROR"/> | |
| 832 | + </critic-grouping> | |
| 833 | + <critic-grouping platformType="SQL Server" enabled="true"> | |
| 834 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServerUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 835 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServerReservedWordsCritic" severity="ERROR"/> | |
| 836 | + </critic-grouping> | |
| 837 | + <critic-grouping platformType="SQL Server 2000" enabled="true"> | |
| 838 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServer2000UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 839 | + </critic-grouping> | |
| 840 | + <critic-grouping platformType="SQL Server 2005" enabled="true"> | |
| 841 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServer2005UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 842 | + </critic-grouping> | |
| 843 | + </critic-manager> | |
| 844 | + <profiles topNCount="10"> | |
| 845 | + </profiles> | |
| 846 | + <olap> | |
| 847 | + </olap> | |
| 848 | + <olap-gui> | |
| 849 | + </olap-gui> | |
| 850 | +</architect-project> |
k2shop/k2shop_sql/app/kobra_gsm.architect~
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<architect-project version="1.0" appversion="1.0.8"> | |
| 3 | + <project-name>kobra_gsm</project-name> | |
| 4 | + <print-settings printerName="Samsung CLX-3300 Series" numCopies="1" zoom="0.49" pageNumbersPrinted="true" orientation="0" paperWidth="612.0" paperHeight="792.0" leftBorder="50.00314960629921" rightBorder="50.003149606299225" topBorder="50.00314960629921" bottomBorder="50.00314960629917" /> | |
| 5 | + <project-data-sources> | |
| 6 | + <data-source id="DS0"> | |
| 7 | + <property key="Logical" value="PlayPen Database" /> | |
| 8 | + </data-source> | |
| 9 | + </project-data-sources> | |
| 10 | + <source-databases> | |
| 11 | + </source-databases> | |
| 12 | + <target-database id="ppdb" dbcs-ref="DS0"> | |
| 13 | + <table id="TAB1" populated="true" UUID="782b11ff-d57f-4ad8-a2f1-20a8a10f45ac" name="gsmAcc" objectType="TABLE" physicalName="gsmAcc" > | |
| 14 | + <remarks>Аккаунт</remarks> | |
| 15 | + <folder id="FOLTAB11" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 16 | + <column id="COL2" populated="true" UUID="a7e3568f-df10-40bb-938a-712548694643" autoIncrement="true" autoIncrementSequenceName="gsmAcc_accid_seq" defaultValue="" name="accid" nullable="0" physicalName="accid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 17 | + <remarks>id счета</remarks> | |
| 18 | + </column> | |
| 19 | + <column id="COL3" populated="true" UUID="4a2f1393-86d0-410f-9932-782d2e370952" autoIncrement="false" autoIncrementSequenceName="gsmAcc_nomer_acc_seq" defaultValue="" name="nomer_acc" nullable="0" physicalName="nomer_acc" precision="25" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 20 | + <remarks>Номер лицевого счета</remarks> | |
| 21 | + </column> | |
| 22 | + <column id="COL4" populated="true" UUID="217a6983-02a3-49a6-8804-b9daa47da437" autoIncrement="false" autoIncrementSequenceName="gsmAcc_acc_status_id_seq" defaultValue="" name="acc_status_id" nullable="0" physicalName="acc_status_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 23 | + <remarks></remarks> | |
| 24 | + </column> | |
| 25 | + <column id="COL5" populated="true" UUID="c385341c-3719-41b8-991e-38c2f6e66403" autoIncrement="false" autoIncrementSequenceName="gsmAcc_comment_acc_seq" defaultValue="" name="comment_acc" nullable="0" physicalName="comment_acc" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 26 | + <remarks>Примечание к аккаунту</remarks> | |
| 27 | + </column> | |
| 28 | + <column id="COL6" populated="true" UUID="ed158d65-db28-4949-be15-17341e6e03a0" autoIncrement="false" autoIncrementSequenceName="gsmAcc_act_seq" defaultValue="" name="act" nullable="1" physicalName="act" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 29 | + <remarks>Активность</remarks> | |
| 30 | + </column> | |
| 31 | + </folder> | |
| 32 | + <folder id="FOLTAB13" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 33 | + </folder> | |
| 34 | + <folder id="FOLTAB12" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 35 | + </folder> | |
| 36 | + <folder id="FOLTAB14" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 37 | + <index id="IDX7" populated="true" UUID="a399ec02-5dbf-4144-9644-6a827bb7d5ba" clustered="false" name="gsmAcc_pk" physicalName="gsmAcc_pk" primaryKeyIndex="true" unique="false" > | |
| 38 | + <index-column id="IDC8" populated="true" UUID="25cc9a61-2ff2-4fec-b2e3-087748a0ac3e" ascendingOrDescending="UNSPECIFIED" column-ref="COL2" name="accid" physicalName="accid" /> | |
| 39 | + </index> | |
| 40 | + </folder> | |
| 41 | + </table> | |
| 42 | + <table id="TAB9" populated="true" UUID="f266c3bf-fc5a-4410-b2ed-fc46671def0d" name="gsmPhones" objectType="TABLE" physicalName="gsmPhones" > | |
| 43 | + <remarks>Телефонные номера</remarks> | |
| 44 | + <folder id="FOLTAB91" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 45 | + <column id="COL10" populated="true" UUID="569778a5-f304-492c-9d26-899e51e9e346" autoIncrement="true" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 46 | + <remarks></remarks> | |
| 47 | + </column> | |
| 48 | + <column id="COL11" populated="true" UUID="54be5ca4-f41e-4c00-860d-e760fb2585f4" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phone_number_seq" defaultValue="" name="phone_number" nullable="0" physicalName="phone_number" precision="25" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 49 | + <remarks>Телефонный номер</remarks> | |
| 50 | + </column> | |
| 51 | + <column id="COL12" populated="true" UUID="5c3f2d32-06b2-40db-a9de-99c2523e9816" autoIncrement="false" autoIncrementSequenceName="gsmAcc_accid_seq" defaultValue="" name="accid" nullable="0" physicalName="accid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 52 | + <remarks>id счета</remarks> | |
| 53 | + </column> | |
| 54 | + <column id="COL13" populated="true" UUID="5d2041dc-ad1c-41f1-bc51-86d7d9d676da" autoIncrement="false" autoIncrementSequenceName="gsmAccStatus_acc_status_id_seq" defaultValue="" name="acc_status_id" nullable="0" physicalName="acc_status_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 55 | + <remarks></remarks> | |
| 56 | + </column> | |
| 57 | + <column id="COL14" populated="true" UUID="af38a58f-83f6-4576-a1db-2a3e2da07ebf" autoIncrement="false" autoIncrementSequenceName="gsmControl_controlid_seq" defaultValue="" name="controlid" nullable="0" physicalName="controlid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 58 | + <remarks></remarks> | |
| 59 | + </column> | |
| 60 | + <column id="COL15" populated="true" UUID="1e6ad603-2cc0-4025-bd39-7bc577edc020" autoIncrement="false" autoIncrementSequenceName="gsmProj_projid_seq" defaultValue="" name="projid" nullable="0" physicalName="projid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 61 | + <remarks>id проекта</remarks> | |
| 62 | + </column> | |
| 63 | + <column id="COL16" populated="true" UUID="78a6f086-9b5a-4dc1-bf7d-611d73278b9a" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarifid_seq" defaultValue="" name="tarifid" nullable="0" physicalName="tarifid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 64 | + <remarks>id тарифа</remarks> | |
| 65 | + </column> | |
| 66 | + <column id="COL17" populated="true" UUID="4fbad794-b39b-420f-b32d-b336fd4c72db" autoIncrement="false" autoIncrementSequenceName="gsmPhones_double_seq" defaultValue="" name="double" nullable="1" physicalName="double" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 67 | + <remarks>Парные номера</remarks> | |
| 68 | + </column> | |
| 69 | + <column id="COL18" populated="true" UUID="4f0b89d6-654a-41bd-8f96-e10aeaf57014" autoIncrement="false" autoIncrementSequenceName="gsmCli_cli_id_seq" defaultValue="" name="cli_id" nullable="0" physicalName="cli_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 70 | + <remarks>id клиента</remarks> | |
| 71 | + </column> | |
| 72 | + </folder> | |
| 73 | + <folder id="FOLTAB93" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 74 | + </folder> | |
| 75 | + <folder id="FOLTAB92" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 76 | + </folder> | |
| 77 | + <folder id="FOLTAB94" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 78 | + <index id="IDX19" populated="true" UUID="533345ae-a54c-43f5-84b8-f28959e2aa8c" clustered="false" name="gsmPhones_pk" physicalName="gsmPhones_pk" primaryKeyIndex="true" unique="false" > | |
| 79 | + <index-column id="IDC20" populated="true" UUID="7792d006-5881-4397-bde3-16fbb8094ca2" ascendingOrDescending="UNSPECIFIED" column-ref="COL10" name="phoneid" physicalName="phoneid" /> | |
| 80 | + </index> | |
| 81 | + </folder> | |
| 82 | + </table> | |
| 83 | + <table id="TAB21" populated="true" UUID="c3881036-077a-4e81-b998-ef94f0da8a2c" name="gsmAccStatus" objectType="TABLE" physicalName="gsmAccStatus" > | |
| 84 | + <remarks>Статус счета</remarks> | |
| 85 | + <folder id="FOLTAB211" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 86 | + <column id="COL22" populated="true" UUID="0d7006e2-5cc7-4a34-a074-1a14b21ef052" autoIncrement="true" autoIncrementSequenceName="gsmAccStatus_acc_status_id_seq" defaultValue="" name="acc_status_id" nullable="0" physicalName="acc_status_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 87 | + <remarks></remarks> | |
| 88 | + </column> | |
| 89 | + <column id="COL23" populated="true" UUID="f81cf966-7568-41ea-b809-a011305a0b44" autoIncrement="false" autoIncrementSequenceName="gsmAccStatus_name_status_seq" defaultValue="" name="name_status" nullable="1" physicalName="name_status" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 90 | + <remarks>Название статуса</remarks> | |
| 91 | + </column> | |
| 92 | + <column id="COL24" populated="true" UUID="97bdd0e0-0137-41be-a802-2b6a877b7fe7" autoIncrement="false" autoIncrementSequenceName="gsmAccStatus_comment_status_seq" defaultValue="" name="comment_status" nullable="1" physicalName="comment_status" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 93 | + <remarks>Примечание к статусу</remarks> | |
| 94 | + </column> | |
| 95 | + </folder> | |
| 96 | + <folder id="FOLTAB213" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 97 | + </folder> | |
| 98 | + <folder id="FOLTAB212" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 99 | + </folder> | |
| 100 | + <folder id="FOLTAB214" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 101 | + <index id="IDX25" populated="true" UUID="c66986c2-b6d3-4ac3-b1fa-ea5591acee58" clustered="false" name="gsmAccStatus_pk" physicalName="gsmAccStatus_pk" primaryKeyIndex="true" unique="false" > | |
| 102 | + <index-column id="IDC26" populated="true" UUID="0c8f5d7b-d8d0-4689-9b72-1dc65c80e1bf" ascendingOrDescending="UNSPECIFIED" column-ref="COL22" name="acc_status_id" physicalName="acc_status_id" /> | |
| 103 | + </index> | |
| 104 | + </folder> | |
| 105 | + </table> | |
| 106 | + <table id="TAB27" populated="true" UUID="d26cba10-bbb6-4fab-817e-d2f90c2799fa" name="gsmControl" objectType="TABLE" physicalName="gsmControl" > | |
| 107 | + <remarks>На контроле</remarks> | |
| 108 | + <folder id="FOLTAB271" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 109 | + <column id="COL28" populated="true" UUID="c15b23a7-fec8-4888-9445-7b7d02af80f6" autoIncrement="true" autoIncrementSequenceName="gsmControl_controlid_seq" defaultValue="" name="controlid" nullable="0" physicalName="controlid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 110 | + <remarks></remarks> | |
| 111 | + </column> | |
| 112 | + <column id="COL29" populated="true" UUID="af55785c-3031-4912-8930-f513ab1f746c" autoIncrement="false" autoIncrementSequenceName="gsmControl_control_name_seq" defaultValue="" name="control_name" nullable="1" physicalName="control_name" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 113 | + <remarks></remarks> | |
| 114 | + </column> | |
| 115 | + <column id="COL30" populated="true" UUID="cbcf9bc4-7878-4846-bd64-d9208be38356" autoIncrement="false" autoIncrementSequenceName="gsmControl_comment_control_seq" defaultValue="" name="comment_control" nullable="1" physicalName="comment_control" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 116 | + <remarks>Примечание к контролю</remarks> | |
| 117 | + </column> | |
| 118 | + </folder> | |
| 119 | + <folder id="FOLTAB273" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 120 | + </folder> | |
| 121 | + <folder id="FOLTAB272" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 122 | + </folder> | |
| 123 | + <folder id="FOLTAB274" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 124 | + <index id="IDX31" populated="true" UUID="f06a4435-760a-489a-aac9-4a7fe2aeef58" clustered="false" name="gsmControl_pk" physicalName="gsmControl_pk" primaryKeyIndex="true" unique="false" > | |
| 125 | + <index-column id="IDC32" populated="true" UUID="2b8c9787-46d9-4dbc-8959-5b27acb4b36b" ascendingOrDescending="UNSPECIFIED" column-ref="COL28" name="controlid" physicalName="controlid" /> | |
| 126 | + </index> | |
| 127 | + </folder> | |
| 128 | + </table> | |
| 129 | + <table id="TAB33" populated="true" UUID="7f8dea73-b0b0-4f95-87eb-575a72f0d66f" name="gsmProj" objectType="TABLE" physicalName="gsmProj" > | |
| 130 | + <remarks>Проект</remarks> | |
| 131 | + <folder id="FOLTAB331" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 132 | + <column id="COL34" populated="true" UUID="9c9e6a2c-5d7a-49b5-ac4b-256978d37e31" autoIncrement="true" autoIncrementSequenceName="gsmProj_projid_seq" defaultValue="" name="projid" nullable="0" physicalName="projid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 133 | + <remarks>id проекта</remarks> | |
| 134 | + </column> | |
| 135 | + <column id="COL35" populated="true" UUID="e2cc2b13-f6c5-408f-aacb-bf3e89d28e17" autoIncrement="false" autoIncrementSequenceName="gsmProj_proj_name_seq" defaultValue="" name="proj_name" nullable="1" physicalName="proj_name" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 136 | + <remarks>Название проекта</remarks> | |
| 137 | + </column> | |
| 138 | + <column id="COL36" populated="true" UUID="5533f50a-2d53-416f-b53b-768e75ee9543" autoIncrement="false" autoIncrementSequenceName="gsmProj_comment_proj_seq" defaultValue="" name="comment_proj" nullable="1" physicalName="comment_proj" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 139 | + <remarks>Примечание к проекту</remarks> | |
| 140 | + </column> | |
| 141 | + </folder> | |
| 142 | + <folder id="FOLTAB333" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 143 | + </folder> | |
| 144 | + <folder id="FOLTAB332" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 145 | + </folder> | |
| 146 | + <folder id="FOLTAB334" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 147 | + <index id="IDX37" populated="true" UUID="c0f3d169-1942-460b-82db-4f88775893a0" clustered="false" name="gsmProj_pk" physicalName="gsmProj_pk" primaryKeyIndex="true" unique="false" > | |
| 148 | + <index-column id="IDC38" populated="true" UUID="7e6ebc52-51ae-4ceb-9d00-fedf673e087b" ascendingOrDescending="UNSPECIFIED" column-ref="COL34" name="projid" physicalName="projid" /> | |
| 149 | + </index> | |
| 150 | + </folder> | |
| 151 | + </table> | |
| 152 | + <table id="TAB39" populated="true" UUID="fd48cba0-dcf8-45e8-a438-636241a0fc49" name="gsmTarifs" objectType="TABLE" physicalName="gsmTarifs" > | |
| 153 | + <remarks>Тарифные планы</remarks> | |
| 154 | + <folder id="FOLTAB391" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 155 | + <column id="COL40" populated="true" UUID="ad3c9e93-f17d-4edb-a3dd-017a9bf3d3f5" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarifid_seq" defaultValue="" name="tarifid" nullable="0" physicalName="tarifid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 156 | + <remarks>id тарифа</remarks> | |
| 157 | + </column> | |
| 158 | + <column id="COL41" populated="true" UUID="aeb90805-fff7-4e85-9d85-b2b7310e966c" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarif_name_seq" defaultValue="" name="tarif_name" nullable="1" physicalName="tarif_name" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 159 | + <remarks>Название тарифа</remarks> | |
| 160 | + </column> | |
| 161 | + <column id="COL42" populated="true" UUID="3d3236e0-e040-446f-9efb-8f225881aac7" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_tarif_name_full_seq" defaultValue="" name="tarif_name_full" nullable="1" physicalName="tarif_name_full" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 162 | + <remarks>Полное название тарифа</remarks> | |
| 163 | + </column> | |
| 164 | + <column id="COL43" populated="true" UUID="cd2bb038-e3de-4c9e-965a-6fe2d28a699d" autoIncrement="false" autoIncrementSequenceName="gsmTarifs_comment_tarif_seq" defaultValue="" name="comment_tarif" nullable="1" physicalName="comment_tarif" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 165 | + <remarks>Примечание</remarks> | |
| 166 | + </column> | |
| 167 | + </folder> | |
| 168 | + <folder id="FOLTAB393" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 169 | + </folder> | |
| 170 | + <folder id="FOLTAB392" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 171 | + </folder> | |
| 172 | + <folder id="FOLTAB394" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 173 | + <index id="IDX44" populated="true" UUID="c5cd90a1-d94d-4c7b-9637-d3b5f84be15f" clustered="false" name="gsmTarifs_pk" physicalName="gsmTarifs_pk" primaryKeyIndex="true" unique="false" > | |
| 174 | + <index-column id="IDC45" populated="true" UUID="158df4a2-037b-427a-a10e-f51ae7d492f1" ascendingOrDescending="UNSPECIFIED" column-ref="COL40" name="tarifid" physicalName="tarifid" /> | |
| 175 | + </index> | |
| 176 | + </folder> | |
| 177 | + </table> | |
| 178 | + <table id="TAB46" populated="true" UUID="9b38bb14-4dc0-46f8-b084-b2047f344079" name="gsmGroupPack" objectType="TABLE" physicalName="gsmGroupPack" > | |
| 179 | + <remarks></remarks> | |
| 180 | + <folder id="FOLTAB461" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 181 | + <column id="COL47" populated="true" UUID="bc72047b-5bf5-469d-b61d-cff96cd9b7ab" autoIncrement="true" autoIncrementSequenceName="gsmGroupPack_group_pack_id_seq" defaultValue="" name="group_pack_id" nullable="0" physicalName="group_pack_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 182 | + <remarks>id пакета</remarks> | |
| 183 | + </column> | |
| 184 | + <column id="COL48" populated="true" UUID="03819d18-1d7b-454c-9102-b551d029ee44" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_group_name_seq" defaultValue="" name="group_name" nullable="1" physicalName="group_name" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 185 | + <remarks>Название группы</remarks> | |
| 186 | + </column> | |
| 187 | + <column id="COL49" populated="true" UUID="cd51f7a5-2267-44a7-b442-b3515f634881" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_comment_grouppack_seq" defaultValue="" name="comment_grouppack" nullable="1" physicalName="comment_grouppack" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 188 | + <remarks>Примечание</remarks> | |
| 189 | + </column> | |
| 190 | + <column id="COL50" populated="true" UUID="4c72b389-1d5a-44eb-8ed9-8a3a96741352" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_is_additional_seq" defaultValue="" name="is_additional" nullable="1" physicalName="is_additional" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 191 | + <remarks>Дополнительные услуги</remarks> | |
| 192 | + </column> | |
| 193 | + </folder> | |
| 194 | + <folder id="FOLTAB463" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 195 | + </folder> | |
| 196 | + <folder id="FOLTAB462" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 197 | + </folder> | |
| 198 | + <folder id="FOLTAB464" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 199 | + <index id="IDX51" populated="true" UUID="ae832a16-c5d6-4d3d-8650-de60dccd5adb" clustered="false" name="gsmGroupPack_pk" physicalName="gsmGroupPack_pk" primaryKeyIndex="true" unique="false" > | |
| 200 | + <index-column id="IDC52" populated="true" UUID="188d607d-b814-430e-8795-1a04c470d989" ascendingOrDescending="UNSPECIFIED" column-ref="COL47" name="group_pack_id" physicalName="group_pack_id" /> | |
| 201 | + </index> | |
| 202 | + </folder> | |
| 203 | + </table> | |
| 204 | + <table id="TAB53" populated="true" UUID="dfc1d01e-0c42-4549-8f11-2283160df29b" name="gsmPackName" objectType="TABLE" physicalName="gsmPackName" > | |
| 205 | + <remarks>Названия пакетов</remarks> | |
| 206 | + <folder id="FOLTAB531" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 207 | + <column id="COL54" populated="true" UUID="b8a5ee8d-f2c6-469b-9359-52c7f0efeaa1" autoIncrement="false" autoIncrementSequenceName="gsmPackName_pack_name_id_seq" defaultValue="" name="pack_name_id" nullable="0" physicalName="pack_name_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 208 | + <remarks>id пакета</remarks> | |
| 209 | + </column> | |
| 210 | + <column id="COL55" populated="true" UUID="e810bf99-4229-4c96-a293-ccae578cf9a8" autoIncrement="false" autoIncrementSequenceName="gsmGroupPack_group_pack_id_seq" defaultValue="" name="group_pack_id" nullable="0" physicalName="group_pack_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 211 | + <remarks>id пакета</remarks> | |
| 212 | + </column> | |
| 213 | + <column id="COL56" populated="true" UUID="83751959-6466-45cd-b140-50929a08d286" autoIncrement="false" autoIncrementSequenceName="gsmPackName_packname_seq" defaultValue="" name="packname" nullable="0" physicalName="packname" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 214 | + <remarks>Название пакета</remarks> | |
| 215 | + </column> | |
| 216 | + </folder> | |
| 217 | + <folder id="FOLTAB533" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 218 | + </folder> | |
| 219 | + <folder id="FOLTAB532" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 220 | + </folder> | |
| 221 | + <folder id="FOLTAB534" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 222 | + <index id="IDX57" populated="true" UUID="7abb6c83-8514-4868-aa7c-9d470ce58d1c" clustered="false" name="gsmPackName_pk" physicalName="gsmPackName_pk" primaryKeyIndex="true" unique="false" > | |
| 223 | + <index-column id="IDC58" populated="true" UUID="ddbe0039-1681-4fdf-b232-6e6da08d8063" ascendingOrDescending="UNSPECIFIED" column-ref="COL54" name="pack_name_id" physicalName="pack_name_id" /> | |
| 224 | + </index> | |
| 225 | + </folder> | |
| 226 | + </table> | |
| 227 | + <table id="TAB59" populated="true" UUID="51fbbd8c-4a24-4d48-8d27-cd086a4d20d6" name="gsmPackPhones" objectType="TABLE" physicalName="gsmPackPhones" > | |
| 228 | + <remarks>Развязочная таблица пакетов</remarks> | |
| 229 | + <folder id="FOLTAB591" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 230 | + <column id="COL60" populated="true" UUID="4adbf091-e689-4dbc-8d1a-f05136336e7d" autoIncrement="true" autoIncrementSequenceName="gsmPackPhones_packphoneid_seq" defaultValue="" name="packphoneid" nullable="0" physicalName="packphoneid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 231 | + <remarks>id пакета</remarks> | |
| 232 | + </column> | |
| 233 | + <column id="COL61" populated="true" UUID="4ceea6b1-d9e0-41d2-873e-bebcdee5b88b" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 234 | + <remarks></remarks> | |
| 235 | + </column> | |
| 236 | + <column id="COL62" populated="true" UUID="f4122f79-9f9b-46a9-81ed-d008f0cdf522" autoIncrement="false" autoIncrementSequenceName="gsmPackName_pack_name_id_seq" defaultValue="" name="pack_name_id" nullable="0" physicalName="pack_name_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 237 | + <remarks>id пакета</remarks> | |
| 238 | + </column> | |
| 239 | + </folder> | |
| 240 | + <folder id="FOLTAB593" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 241 | + </folder> | |
| 242 | + <folder id="FOLTAB592" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 243 | + </folder> | |
| 244 | + <folder id="FOLTAB594" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 245 | + <index id="IDX63" populated="true" UUID="53537d18-5743-4e5f-9851-68cc0364fc51" clustered="false" name="gsmPackPhones_pk" physicalName="gsmPackPhones_pk" primaryKeyIndex="true" unique="false" > | |
| 246 | + <index-column id="IDC64" populated="true" UUID="9e500cc9-b513-4343-a31c-e5542399b60a" ascendingOrDescending="UNSPECIFIED" column-ref="COL60" name="packphoneid" physicalName="packphoneid" /> | |
| 247 | + </index> | |
| 248 | + </folder> | |
| 249 | + </table> | |
| 250 | + <table id="TAB65" populated="true" UUID="054d5d0e-a6fd-4c36-ad5d-561a11fb5f20" name="gsmActivePhone" objectType="TABLE" physicalName="gsmActivePhone" > | |
| 251 | + <remarks>Активация</remarks> | |
| 252 | + <folder id="FOLTAB651" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 253 | + <column id="COL66" populated="true" UUID="6118ce34-8edf-442d-ad78-08dbbe19c110" autoIncrement="true" autoIncrementSequenceName="gsmActivePhone_active_phone_id_seq" defaultValue="" name="active_phone_id" nullable="0" physicalName="active_phone_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 254 | + <remarks></remarks> | |
| 255 | + </column> | |
| 256 | + <column id="COL67" populated="true" UUID="28a65e89-1595-4e43-a65a-4bdca7f1e935" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 257 | + <remarks></remarks> | |
| 258 | + </column> | |
| 259 | + <column id="COL68" populated="true" UUID="5a1375f5-6ad4-4810-8d8d-f8f2fef9dac2" autoIncrement="false" autoIncrementSequenceName="gsmActivePhone_dateotgruz_seq" defaultValue="" name="dateotgruz" nullable="0" physicalName="dateotgruz" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 260 | + <remarks></remarks> | |
| 261 | + </column> | |
| 262 | + <column id="COL69" populated="true" UUID="fe8f76dc-4797-469a-bf6b-e77ff968287a" autoIncrement="false" autoIncrementSequenceName="gsmActivePhone_dateactive_seq" defaultValue="" name="dateactive" nullable="0" physicalName="dateactive" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 263 | + <remarks>Дата акции</remarks> | |
| 264 | + </column> | |
| 265 | + </folder> | |
| 266 | + <folder id="FOLTAB653" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 267 | + </folder> | |
| 268 | + <folder id="FOLTAB652" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 269 | + </folder> | |
| 270 | + <folder id="FOLTAB654" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 271 | + <index id="IDX70" populated="true" UUID="a5222158-b145-4854-b0b2-93631eb24a0f" clustered="false" name="gsmActivePhone_pk" physicalName="gsmActivePhone_pk" primaryKeyIndex="true" unique="false" > | |
| 272 | + <index-column id="IDC71" populated="true" UUID="6341765f-36da-48df-ab77-f2a66541316c" ascendingOrDescending="UNSPECIFIED" column-ref="COL66" name="active_phone_id" physicalName="active_phone_id" /> | |
| 273 | + </index> | |
| 274 | + </folder> | |
| 275 | + </table> | |
| 276 | + <table id="TAB72" populated="true" UUID="d3fb9c97-4db5-42ff-aff8-9d651c311878" name="gsmPeriods" objectType="TABLE" physicalName="gsmPeriods" > | |
| 277 | + <remarks>Периоды</remarks> | |
| 278 | + <folder id="FOLTAB721" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 279 | + <column id="COL73" populated="true" UUID="eff9fca7-5400-4786-874c-1f4b8323156c" autoIncrement="true" autoIncrementSequenceName="gsmPeriods_periodid_seq" defaultValue="" name="periodid" nullable="0" physicalName="periodid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 280 | + <remarks>id периода</remarks> | |
| 281 | + </column> | |
| 282 | + <column id="COL74" populated="true" UUID="d470d033-cd81-4976-a27e-b0f7e10b66b3" autoIncrement="false" autoIncrementSequenceName="gsmPeriods_year_period_seq" defaultValue="" name="year_period" nullable="1" physicalName="year_period" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 283 | + <remarks>Год</remarks> | |
| 284 | + </column> | |
| 285 | + <column id="COL75" populated="true" UUID="630b6950-8bcc-478d-b597-9422dfaee2c1" autoIncrement="false" autoIncrementSequenceName="gsmPeriods_month_period_seq" defaultValue="" name="month_period" nullable="1" physicalName="month_period" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 286 | + <remarks>Месяц</remarks> | |
| 287 | + </column> | |
| 288 | + </folder> | |
| 289 | + <folder id="FOLTAB723" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 290 | + </folder> | |
| 291 | + <folder id="FOLTAB722" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 292 | + </folder> | |
| 293 | + <folder id="FOLTAB724" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 294 | + <index id="IDX76" populated="true" UUID="aa4a3802-7866-4daf-8203-7fa38f95e740" clustered="false" name="gsmPeriods_pk" physicalName="gsmPeriods_pk" primaryKeyIndex="true" unique="false" > | |
| 295 | + <index-column id="IDC77" populated="true" UUID="18da352f-fdb0-4a8e-9c11-cc255a3dbfac" ascendingOrDescending="UNSPECIFIED" column-ref="COL73" name="periodid" physicalName="periodid" /> | |
| 296 | + </index> | |
| 297 | + </folder> | |
| 298 | + </table> | |
| 299 | + <table id="TAB78" populated="true" UUID="0b1fd002-dd2c-4a25-a5a9-de2b53abf1d4" name="gsmCli" objectType="TABLE" physicalName="gsmCli" > | |
| 300 | + <remarks>Название клиента</remarks> | |
| 301 | + <folder id="FOLTAB781" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 302 | + <column id="COL79" populated="true" UUID="b1eecf1b-e855-4b16-afd2-0d2a6a03e03e" autoIncrement="true" autoIncrementSequenceName="gsmCli_cli_id_seq" defaultValue="" name="cli_id" nullable="0" physicalName="cli_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 303 | + <remarks>id клиента</remarks> | |
| 304 | + </column> | |
| 305 | + <column id="COL80" populated="true" UUID="77017761-6139-4a45-a934-a6b33250a043" autoIncrement="false" autoIncrementSequenceName="gsmCli_name_cli_seq" defaultValue="" name="name_cli" nullable="1" physicalName="name_cli" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 306 | + <remarks>Название клиента</remarks> | |
| 307 | + </column> | |
| 308 | + <column id="COL81" populated="true" UUID="817d1dcf-242a-4a1d-89ce-894c08c63eae" autoIncrement="false" autoIncrementSequenceName="gsmCli_comment_cli_seq" defaultValue="" name="comment_cli" nullable="1" physicalName="comment_cli" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 309 | + <remarks>Примечание</remarks> | |
| 310 | + </column> | |
| 311 | + </folder> | |
| 312 | + <folder id="FOLTAB783" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 313 | + </folder> | |
| 314 | + <folder id="FOLTAB782" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 315 | + </folder> | |
| 316 | + <folder id="FOLTAB784" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 317 | + <index id="IDX82" populated="true" UUID="9797a790-a855-4bf5-9e6c-5d871111bc83" clustered="false" name="gsmCli_pk" physicalName="gsmCli_pk" primaryKeyIndex="true" unique="false" > | |
| 318 | + <index-column id="IDC83" populated="true" UUID="9bd4db3e-41db-4e8a-86bc-f47fbebda016" ascendingOrDescending="UNSPECIFIED" column-ref="COL79" name="cli_id" physicalName="cli_id" /> | |
| 319 | + </index> | |
| 320 | + </folder> | |
| 321 | + </table> | |
| 322 | + <table id="TAB84" populated="true" UUID="b9bc6d62-2073-4c28-a7d7-4fd3178f0d5e" name="gsmTypeContact" objectType="TABLE" physicalName="gsmTypeContact" > | |
| 323 | + <remarks>Тип контакта</remarks> | |
| 324 | + <folder id="FOLTAB841" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 325 | + <column id="COL85" populated="true" UUID="fe65da51-2d9d-446a-af86-7db09279bbea" autoIncrement="true" autoIncrementSequenceName="gsmTypeContact_type_cont_id_seq" defaultValue="" name="type_cont_id" nullable="0" physicalName="type_cont_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 326 | + <remarks>id типа клиента</remarks> | |
| 327 | + </column> | |
| 328 | + <column id="COL86" populated="true" UUID="f34f6673-baaf-4eb8-bb99-e49d62cadce4" autoIncrement="false" autoIncrementSequenceName="gsmTypeContact_name_type_contact_seq" defaultValue="" name="name_type_contact" nullable="1" physicalName="name_type_contact" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 329 | + <remarks>Название типа клиента</remarks> | |
| 330 | + </column> | |
| 331 | + </folder> | |
| 332 | + <folder id="FOLTAB843" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 333 | + </folder> | |
| 334 | + <folder id="FOLTAB842" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 335 | + </folder> | |
| 336 | + <folder id="FOLTAB844" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 337 | + <index id="IDX87" populated="true" UUID="087e8ea6-88d4-4b4a-8975-c37b7afb3c37" clustered="false" name="gsmTypeContact_pk" physicalName="gsmTypeContact_pk" primaryKeyIndex="true" unique="false" > | |
| 338 | + <index-column id="IDC88" populated="true" UUID="663034f9-30dd-4539-a474-c65823f6b25d" ascendingOrDescending="UNSPECIFIED" column-ref="COL85" name="type_cont_id" physicalName="type_cont_id" /> | |
| 339 | + </index> | |
| 340 | + </folder> | |
| 341 | + </table> | |
| 342 | + <table id="TAB89" populated="true" UUID="e31c6645-ecac-4a56-9219-2cfa1b5ef6ca" name="gsmCliContacts" objectType="TABLE" physicalName="gsmCliContacts" > | |
| 343 | + <remarks>Контакты клиента</remarks> | |
| 344 | + <folder id="FOLTAB891" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 345 | + <column id="COL90" populated="true" UUID="56fc8cc5-e787-471e-938c-30f83bc8146c" autoIncrement="true" autoIncrementSequenceName="gsmCliContacts_clicontid_seq" defaultValue="" name="clicontid" nullable="0" physicalName="clicontid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 346 | + <remarks></remarks> | |
| 347 | + </column> | |
| 348 | + <column id="COL91" populated="true" UUID="b426b186-c5d7-4a48-8301-e391d4efb403" autoIncrement="false" autoIncrementSequenceName="gsmCli_cli_id_seq" defaultValue="" name="cli_id" nullable="0" physicalName="cli_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 349 | + <remarks>id клиента</remarks> | |
| 350 | + </column> | |
| 351 | + <column id="COL92" populated="true" UUID="73c6c018-b0fc-4706-b293-00cc5dfe097c" autoIncrement="false" autoIncrementSequenceName="gsmTypeContact_type_cont_id_seq" defaultValue="" name="type_cont_id" nullable="0" physicalName="type_cont_id" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 352 | + <remarks>id типа клиента</remarks> | |
| 353 | + </column> | |
| 354 | + <column id="COL93" populated="true" UUID="b3f25fef-5bb8-4404-b1e0-8420217b2f62" autoIncrement="false" autoIncrementSequenceName="gsmCliContacts_contact_seq" defaultValue="" name="contact" nullable="1" physicalName="contact" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 355 | + <remarks>Контакт</remarks> | |
| 356 | + </column> | |
| 357 | + </folder> | |
| 358 | + <folder id="FOLTAB893" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 359 | + </folder> | |
| 360 | + <folder id="FOLTAB892" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 361 | + </folder> | |
| 362 | + <folder id="FOLTAB894" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 363 | + <index id="IDX94" populated="true" UUID="2b79c31c-a28d-4e36-bd73-f55d1dac3aef" clustered="false" name="gsmCliContacts_pk" physicalName="gsmCliContacts_pk" primaryKeyIndex="true" unique="false" > | |
| 364 | + <index-column id="IDC95" populated="true" UUID="7e38558e-6d26-4af6-847d-d561fe6e8094" ascendingOrDescending="UNSPECIFIED" column-ref="COL90" name="clicontid" physicalName="clicontid" /> | |
| 365 | + </index> | |
| 366 | + </folder> | |
| 367 | + </table> | |
| 368 | + <table id="TAB96" populated="true" UUID="c6e3c110-024e-4e34-a3c6-793c327f1ab5" name="gsmPhoneComments" objectType="TABLE" physicalName="gsmPhoneComments" > | |
| 369 | + <remarks>Переговоры с контактом</remarks> | |
| 370 | + <folder id="FOLTAB961" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 371 | + <column id="COL97" populated="true" UUID="e48c2ad7-20de-4f66-bfc3-d57f135e474d" autoIncrement="true" autoIncrementSequenceName="gsmPhoneComments_phone_comment_id_seq" defaultValue="" name="phone_comment_id" nullable="0" physicalName="phone_comment_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 372 | + <remarks>id комментария</remarks> | |
| 373 | + </column> | |
| 374 | + <column id="COL98" populated="true" UUID="76d6ef71-61b2-4091-859d-6270bc1da900" autoIncrement="false" autoIncrementSequenceName="gsmPhoneComments_date_comment_seq" defaultValue="" name="date_comment" nullable="1" physicalName="date_comment" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 375 | + <remarks>Дата комментария</remarks> | |
| 376 | + </column> | |
| 377 | + <column id="COL99" populated="true" UUID="475d5f39-3586-4164-b289-4d93d56bbf95" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="1" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 378 | + <remarks></remarks> | |
| 379 | + </column> | |
| 380 | + <column id="COL100" populated="true" UUID="58a6c271-8d49-4b72-b867-3e101e3ae808" autoIncrement="false" autoIncrementSequenceName="gsmPhoneComments_comment_info_seq" defaultValue="" name="comment_info" nullable="1" physicalName="comment_info" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="-1" userDefinedTypeUUID="9a814859-ab26-4acd-9415-ea82291bcac1" > | |
| 381 | + <remarks>Примечание</remarks> | |
| 382 | + </column> | |
| 383 | + <column id="COL101" populated="true" UUID="5dcef47a-0e8d-4ce8-be1a-2e40ef7d630a" autoIncrement="false" autoIncrementSequenceName="gsmPhoneComments_username_seq" defaultValue="" name="username" nullable="1" physicalName="username" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 384 | + <remarks>Пользователь</remarks> | |
| 385 | + </column> | |
| 386 | + </folder> | |
| 387 | + <folder id="FOLTAB963" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 388 | + </folder> | |
| 389 | + <folder id="FOLTAB962" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 390 | + </folder> | |
| 391 | + <folder id="FOLTAB964" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 392 | + <index id="IDX102" populated="true" UUID="928beac8-aefe-4614-b8f6-a731ba1d2fd5" clustered="false" name="gsmPhoneComments_pk" physicalName="gsmPhoneComments_pk" primaryKeyIndex="true" unique="false" > | |
| 393 | + <index-column id="IDC103" populated="true" UUID="2f0c0426-ec5c-4fde-875e-f8b71831825c" ascendingOrDescending="UNSPECIFIED" column-ref="COL97" name="phone_comment_id" physicalName="phone_comment_id" /> | |
| 394 | + </index> | |
| 395 | + </folder> | |
| 396 | + </table> | |
| 397 | + <table id="TAB104" populated="true" UUID="8bcd9f67-9f1f-4d1a-a576-eae3612d2538" name="gsmPhoneTask" objectType="TABLE" physicalName="gsmPhoneTask" > | |
| 398 | + <remarks>Задачи</remarks> | |
| 399 | + <folder id="FOLTAB1041" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 400 | + <column id="COL105" populated="true" UUID="af894b0e-d18e-46d1-803c-e7d99229a6ce" autoIncrement="true" autoIncrementSequenceName="gsmPhoneTask_taskid_seq" defaultValue="" name="taskid" nullable="0" physicalName="taskid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 401 | + <remarks>id задачи</remarks> | |
| 402 | + </column> | |
| 403 | + <column id="COL106" populated="true" UUID="32590401-25a3-479d-ac70-c8b873d13e68" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="1" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 404 | + <remarks></remarks> | |
| 405 | + </column> | |
| 406 | + <column id="COL107" populated="true" UUID="3918e86b-c685-4ffd-a290-379f31847b72" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_date_task_seq" defaultValue="" name="date_task" nullable="1" physicalName="date_task" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="93" userDefinedTypeUUID="6497d8de-0e00-40d6-a42e-e2adca83be64" > | |
| 407 | + <remarks>Дата задачи</remarks> | |
| 408 | + </column> | |
| 409 | + <column id="COL108" populated="true" UUID="b1b0f203-307b-4ac1-b3b9-f188a6779de9" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_username_seq" defaultValue="" name="username" nullable="1" physicalName="username" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 410 | + <remarks>Пользователь</remarks> | |
| 411 | + </column> | |
| 412 | + <column id="COL109" populated="true" UUID="31f5c769-9905-4eed-828a-877c193b0c19" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_stat_seq" defaultValue="" name="stat" nullable="1" physicalName="stat" precision="5" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 413 | + <remarks>Статус задачи | |
| 414 | ++ - выполнена.</remarks> | |
| 415 | + </column> | |
| 416 | + <column id="COL110" populated="true" UUID="1b55608a-0f40-4084-83a1-c05af08525a1" autoIncrement="false" autoIncrementSequenceName="gsmPhoneTask_task_mess_seq" defaultValue="" name="task_mess" nullable="1" physicalName="task_mess" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="-1" userDefinedTypeUUID="9a814859-ab26-4acd-9415-ea82291bcac1" > | |
| 417 | + <remarks>Описание задачи</remarks> | |
| 418 | + </column> | |
| 419 | + </folder> | |
| 420 | + <folder id="FOLTAB1043" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 421 | + </folder> | |
| 422 | + <folder id="FOLTAB1042" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 423 | + </folder> | |
| 424 | + <folder id="FOLTAB1044" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 425 | + <index id="IDX111" populated="true" UUID="0882ac8f-2313-4e2a-94ed-0cc9e3274346" clustered="false" name="gsmPhoneTask_pk" physicalName="gsmPhoneTask_pk" primaryKeyIndex="true" unique="false" > | |
| 426 | + <index-column id="IDC112" populated="true" UUID="cb7bb132-53a5-40ed-a01a-34a5d1a499cc" ascendingOrDescending="UNSPECIFIED" column-ref="COL105" name="taskid" physicalName="taskid" /> | |
| 427 | + </index> | |
| 428 | + </folder> | |
| 429 | + </table> | |
| 430 | + <table id="TAB113" populated="true" UUID="f43d334b-11ea-482a-893e-29fb95c0c23a" name="gsmKolSim" objectType="TABLE" physicalName="gsmKolSim" > | |
| 431 | + <remarks>Количество подключенных SIM-карт</remarks> | |
| 432 | + <folder id="FOLTAB1131" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 433 | + <column id="COL114" populated="true" UUID="675eed6d-2843-4b1a-b770-d6ccc554bc5f" autoIncrement="true" autoIncrementSequenceName="gsmKolSim_kol_sim_id_seq" defaultValue="" name="kol_sim_id" nullable="0" physicalName="kol_sim_id" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 434 | + <remarks>id SIM</remarks> | |
| 435 | + </column> | |
| 436 | + <column id="COL115" populated="true" UUID="24c12142-08b2-4bd2-8b41-c8cd7eaae3ad" autoIncrement="false" autoIncrementSequenceName="gsmKolSim_year_stat_seq" defaultValue="" name="year_stat" nullable="1" physicalName="year_stat" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 437 | + <remarks>Год</remarks> | |
| 438 | + </column> | |
| 439 | + <column id="COL116" populated="true" UUID="9a7babb2-4dee-4535-bb8f-3d89c152d993" autoIncrement="false" autoIncrementSequenceName="gsmKolSim_kol_sim_seq" defaultValue="" name="kol_sim" nullable="1" physicalName="kol_sim" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 440 | + <remarks>Количество подключенных SIM-карт</remarks> | |
| 441 | + </column> | |
| 442 | + </folder> | |
| 443 | + <folder id="FOLTAB1133" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 444 | + </folder> | |
| 445 | + <folder id="FOLTAB1132" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 446 | + </folder> | |
| 447 | + <folder id="FOLTAB1134" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 448 | + <index id="IDX117" populated="true" UUID="b08b5f49-6da1-4a7a-891f-9adfe200153b" clustered="false" name="gsmKolSim_pk" physicalName="gsmKolSim_pk" primaryKeyIndex="true" unique="false" > | |
| 449 | + <index-column id="IDC118" populated="true" UUID="25078850-95a6-4195-9d00-67a0ec88ad5d" ascendingOrDescending="UNSPECIFIED" column-ref="COL114" name="kol_sim_id" physicalName="kol_sim_id" /> | |
| 450 | + </index> | |
| 451 | + </folder> | |
| 452 | + </table> | |
| 453 | + <table id="TAB119" populated="true" UUID="e3d4762b-120b-4433-bf66-ac7ac1e0528c" name="gsmBalans" objectType="TABLE" physicalName="gsmBalans" > | |
| 454 | + <remarks>Баланс</remarks> | |
| 455 | + <folder id="FOLTAB1191" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 456 | + <column id="COL120" populated="true" UUID="ab6ba93e-fe7c-4ac2-9894-8be488e19104" autoIncrement="true" autoIncrementSequenceName="gsmBalans_balansid_seq" defaultValue="" name="balansid" nullable="0" physicalName="balansid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 457 | + <remarks>id баланса</remarks> | |
| 458 | + </column> | |
| 459 | + <column id="COL121" populated="true" UUID="3ee3812b-c33e-4722-9b0c-386424de34bf" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 460 | + <remarks></remarks> | |
| 461 | + </column> | |
| 462 | + <column id="COL122" populated="true" UUID="06b5592e-3144-4112-837d-fed23cbf265d" autoIncrement="false" autoIncrementSequenceName="gsmPeriods_periodid_seq" defaultValue="" name="periodid" nullable="0" physicalName="periodid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 463 | + <remarks>id периода</remarks> | |
| 464 | + </column> | |
| 465 | + <column id="COL123" populated="true" UUID="8d3397f7-8201-44ed-8433-50a5c61395e6" autoIncrement="false" autoIncrementSequenceName="gsmBalans_sum_balans_seq" defaultValue="0" name="sum_balans" nullable="1" physicalName="sum_balans" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 466 | + <remarks>Сумма баланса</remarks> | |
| 467 | + </column> | |
| 468 | + </folder> | |
| 469 | + <folder id="FOLTAB1193" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 470 | + </folder> | |
| 471 | + <folder id="FOLTAB1192" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 472 | + </folder> | |
| 473 | + <folder id="FOLTAB1194" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 474 | + <index id="IDX124" populated="true" UUID="507e84ae-1873-4b1d-836c-ff02cfb35787" clustered="false" name="gsmBalans_pk" physicalName="gsmBalans_pk" primaryKeyIndex="true" unique="false" > | |
| 475 | + <index-column id="IDC125" populated="true" UUID="0759a110-16e2-4992-89c6-504643179fc5" ascendingOrDescending="UNSPECIFIED" column-ref="COL120" name="balansid" physicalName="balansid" /> | |
| 476 | + </index> | |
| 477 | + </folder> | |
| 478 | + </table> | |
| 479 | + <table id="TAB126" populated="true" UUID="abd129ba-c83b-4162-a999-b2c7056746ef" name="gsmBonus" objectType="TABLE" physicalName="gsmBonus" > | |
| 480 | + <remarks>Бонус</remarks> | |
| 481 | + <folder id="FOLTAB1261" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 482 | + <column id="COL127" populated="true" UUID="412ef814-6cb5-44bc-86e6-38fb110ab193" autoIncrement="true" autoIncrementSequenceName="gsmBonus_bonusid_seq" defaultValue="" name="bonusid" nullable="0" physicalName="bonusid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 483 | + <remarks>id бонуса</remarks> | |
| 484 | + </column> | |
| 485 | + <column id="COL128" populated="true" UUID="7e0d7b96-7502-4eda-9e50-396c70f55e65" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 486 | + <remarks></remarks> | |
| 487 | + </column> | |
| 488 | + <column id="COL129" populated="true" UUID="ec51e27d-d084-4a94-a9da-4b294c423792" autoIncrement="false" autoIncrementSequenceName="gsmBonus_date_bonus_seq" defaultValue="" name="date_bonus" nullable="1" physicalName="date_bonus" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="91" userDefinedTypeUUID="ee349be3-6af2-46e1-b305-975f5354b009" > | |
| 489 | + <remarks>Дата бонуса</remarks> | |
| 490 | + </column> | |
| 491 | + <column id="COL130" populated="true" UUID="64f1ed67-167a-434d-9039-498428e10aa2" autoIncrement="false" autoIncrementSequenceName="gsmBonus_sum_bonus_seq" defaultValue="0" name="sum_bonus" nullable="1" physicalName="sum_bonus" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 492 | + <remarks>Сумма бонуса</remarks> | |
| 493 | + </column> | |
| 494 | + <column id="COL131" populated="true" UUID="e1816478-d3fc-4aad-95ba-8d54c4215a22" autoIncrement="false" autoIncrementSequenceName="gsmBonus_comment_bonus_seq" defaultValue="" name="comment_bonus" nullable="1" physicalName="comment_bonus" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 495 | + <remarks>Примечание к бонусу</remarks> | |
| 496 | + </column> | |
| 497 | + </folder> | |
| 498 | + <folder id="FOLTAB1263" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 499 | + </folder> | |
| 500 | + <folder id="FOLTAB1262" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 501 | + </folder> | |
| 502 | + <folder id="FOLTAB1264" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 503 | + <index id="IDX132" populated="true" UUID="5011e43d-b5ad-4d7b-941d-1bc261ca25b2" clustered="false" name="gsmBonus_pk" physicalName="gsmBonus_pk" primaryKeyIndex="true" unique="false" > | |
| 504 | + <index-column id="IDC133" populated="true" UUID="caed8a8b-260a-4524-85d8-190a16b02465" ascendingOrDescending="UNSPECIFIED" column-ref="COL127" name="bonusid" physicalName="bonusid" /> | |
| 505 | + </index> | |
| 506 | + </folder> | |
| 507 | + </table> | |
| 508 | + <table id="TAB134" populated="true" UUID="8743424c-d8b9-449e-9bbe-f935019b64d5" name="gsmPartners" objectType="TABLE" physicalName="gsmPartners" > | |
| 509 | + <remarks>Партнеры</remarks> | |
| 510 | + <folder id="FOLTAB1341" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 511 | + <column id="COL135" populated="true" UUID="53718853-2fed-4d46-a4d9-33d2917f87c1" autoIncrement="true" autoIncrementSequenceName="gsmPartners_partnerid_seq" defaultValue="" name="partnerid" nullable="0" physicalName="partnerid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 512 | + <remarks>id партнера</remarks> | |
| 513 | + </column> | |
| 514 | + <column id="COL136" populated="true" UUID="1e27dbbe-16b5-4217-9bbd-4fe982602243" autoIncrement="false" autoIncrementSequenceName="gsmPartners_name_partner_seq" defaultValue="" name="name_partner" nullable="1" physicalName="name_partner" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 515 | + <remarks>Название партнера</remarks> | |
| 516 | + </column> | |
| 517 | + <column id="COL137" populated="true" UUID="cdfc82e7-bd74-42dc-aed0-312abbfb8425" autoIncrement="false" autoIncrementSequenceName="gsmPartners_adres_fiz_seq" defaultValue="" name="adres_fiz" nullable="1" physicalName="adres_fiz" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 518 | + <remarks>Физический адрес</remarks> | |
| 519 | + </column> | |
| 520 | + <column id="COL138" populated="true" UUID="01759bc4-7d8e-4b0e-8684-7265ba383b02" autoIncrement="false" autoIncrementSequenceName="gsmPartners_rekv_otpr_seq" defaultValue="" name="rekv_otpr" nullable="1" physicalName="rekv_otpr" precision="512" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 521 | + <remarks>Реквизиты для отправки</remarks> | |
| 522 | + </column> | |
| 523 | + <column id="COL139" populated="true" UUID="257d1ada-3203-420a-8eaf-58588a61a436" autoIncrement="false" autoIncrementSequenceName="gsmProj_projid_seq" defaultValue="" name="projid" nullable="0" physicalName="projid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 524 | + <remarks>id проекта</remarks> | |
| 525 | + </column> | |
| 526 | + </folder> | |
| 527 | + <folder id="FOLTAB1343" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 528 | + </folder> | |
| 529 | + <folder id="FOLTAB1342" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 530 | + </folder> | |
| 531 | + <folder id="FOLTAB1344" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 532 | + <index id="IDX140" populated="true" UUID="d083708f-1840-464e-9e4f-725ab9cfefd5" clustered="false" name="gsmPartners_pk" physicalName="gsmPartners_pk" primaryKeyIndex="true" unique="false" > | |
| 533 | + <index-column id="IDC141" populated="true" UUID="7c9c2406-bb61-4b64-9836-f28bf1a25ecd" ascendingOrDescending="UNSPECIFIED" column-ref="COL135" name="partnerid" physicalName="partnerid" /> | |
| 534 | + </index> | |
| 535 | + </folder> | |
| 536 | + </table> | |
| 537 | + <table id="TAB142" populated="true" UUID="3d84d8c6-300f-4f26-9ffb-1060f8ef118c" name="gsmTov" objectType="TABLE" physicalName="gsmTov" > | |
| 538 | + <remarks>Товар</remarks> | |
| 539 | + <folder id="FOLTAB1421" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 540 | + <column id="COL143" populated="true" UUID="b0d426f9-bf1f-493f-b445-6c6d726c5349" autoIncrement="true" autoIncrementSequenceName="gsmTov_tovid_seq" defaultValue="" name="tovid" nullable="0" physicalName="tovid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 541 | + <remarks>id товара</remarks> | |
| 542 | + </column> | |
| 543 | + <column id="COL144" populated="true" UUID="c2455094-b33f-4b85-b8ce-581bbb709579" autoIncrement="false" autoIncrementSequenceName="gsmTov_name_tov_seq" defaultValue="" name="name_tov" nullable="1" physicalName="name_tov" precision="250" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 544 | + <remarks>Название товара</remarks> | |
| 545 | + </column> | |
| 546 | + <column id="COL145" populated="true" UUID="1cc3aa85-c8e3-4757-89bf-bba7e9e39596" autoIncrement="false" autoIncrementSequenceName="gsmTov_comment_tov_seq" defaultValue="" name="comment_tov" nullable="1" physicalName="comment_tov" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 547 | + <remarks>Примечание к товару</remarks> | |
| 548 | + </column> | |
| 549 | + </folder> | |
| 550 | + <folder id="FOLTAB1423" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 551 | + </folder> | |
| 552 | + <folder id="FOLTAB1422" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 553 | + </folder> | |
| 554 | + <folder id="FOLTAB1424" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 555 | + <index id="IDX146" populated="true" UUID="ee17a6e1-2574-437b-b120-753f6f36845f" clustered="false" name="gsmTov_pk" physicalName="gsmTov_pk" primaryKeyIndex="true" unique="false" > | |
| 556 | + <index-column id="IDC147" populated="true" UUID="d50758f3-a2c7-409d-8a9b-68586a21b6b2" ascendingOrDescending="UNSPECIFIED" column-ref="COL143" name="tovid" physicalName="tovid" /> | |
| 557 | + </index> | |
| 558 | + </folder> | |
| 559 | + </table> | |
| 560 | + <table id="TAB148" populated="true" UUID="90cc565b-9497-49cb-ac4a-60a5d5ed008f" name="gsmPartnerCont" objectType="TABLE" physicalName="gsmPartnerCont" > | |
| 561 | + <remarks>Контакты партнеров</remarks> | |
| 562 | + <folder id="FOLTAB1481" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 563 | + <column id="COL149" populated="true" UUID="dc37c374-6590-47fe-b59d-82366479f230" autoIncrement="true" autoIncrementSequenceName="gsmPartnerCont_partn_contid_seq" defaultValue="" name="partn_contid" nullable="0" physicalName="partn_contid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 564 | + <remarks>id контакта партнера</remarks> | |
| 565 | + </column> | |
| 566 | + <column id="COL150" populated="true" UUID="456a1e98-5610-448b-9638-195d023d202f" autoIncrement="false" autoIncrementSequenceName="gsmPartners_partnerid_seq" defaultValue="" name="partnerid" nullable="0" physicalName="partnerid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 567 | + <remarks>id партнера</remarks> | |
| 568 | + </column> | |
| 569 | + <column id="COL151" populated="true" UUID="757da695-eb94-4b7b-8dde-4a461e32afaa" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_fio_cont_seq" defaultValue="" name="fio_cont" nullable="1" physicalName="fio_cont" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 570 | + <remarks>ФИО контакта</remarks> | |
| 571 | + </column> | |
| 572 | + <column id="COL152" populated="true" UUID="9c240c99-4c5c-4f88-8f0f-5dd79163b78f" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_phone_cont_seq" defaultValue="" name="phone_cont" nullable="1" physicalName="phone_cont" precision="75" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 573 | + <remarks>Телефон контакта</remarks> | |
| 574 | + </column> | |
| 575 | + <column id="COL153" populated="true" UUID="c52f4c0c-92bf-4448-bc34-52c442628bc1" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_omment_cont_seq" defaultValue="" name="omment_cont" nullable="1" physicalName="omment_cont" precision="1024" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 576 | + <remarks>Примечания к контакту</remarks> | |
| 577 | + </column> | |
| 578 | + <column id="COL154" populated="true" UUID="174639ab-19fb-4d13-a395-4aadc654a7bc" autoIncrement="false" autoIncrementSequenceName="gsmDolgn_dolgnid_seq" defaultValue="" name="dolgnid" nullable="0" physicalName="dolgnid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 579 | + <remarks>id должности</remarks> | |
| 580 | + </column> | |
| 581 | + </folder> | |
| 582 | + <folder id="FOLTAB1483" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 583 | + </folder> | |
| 584 | + <folder id="FOLTAB1482" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 585 | + </folder> | |
| 586 | + <folder id="FOLTAB1484" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 587 | + <index id="IDX155" populated="true" UUID="52afdac6-1f99-4d02-ac74-25e9846eba06" clustered="false" name="gsmPartnerCont_pk" physicalName="gsmPartnerCont_pk" primaryKeyIndex="true" unique="false" > | |
| 588 | + <index-column id="IDC156" populated="true" UUID="2bce9b61-a89f-47b3-9d51-25fd23547a15" ascendingOrDescending="UNSPECIFIED" column-ref="COL149" name="partn_contid" physicalName="partn_contid" /> | |
| 589 | + </index> | |
| 590 | + </folder> | |
| 591 | + </table> | |
| 592 | + <table id="TAB157" populated="true" UUID="957c29aa-c5bc-418e-a7aa-dbc72386da94" name="gsmDolgn" objectType="TABLE" physicalName="gsmDolgn" > | |
| 593 | + <remarks>Должности</remarks> | |
| 594 | + <folder id="FOLTAB1571" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 595 | + <column id="COL158" populated="true" UUID="5aa93db7-283e-44b1-b2b6-85a080480b4d" autoIncrement="true" autoIncrementSequenceName="gsmDolgn_dolgnid_seq" defaultValue="" name="dolgnid" nullable="0" physicalName="dolgnid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 596 | + <remarks>id должности</remarks> | |
| 597 | + </column> | |
| 598 | + <column id="COL159" populated="true" UUID="7b4f0ead-9939-4f2e-9898-593794b6b7d7" autoIncrement="false" autoIncrementSequenceName="gsmDolgn_name_dolgn_seq" defaultValue="" name="name_dolgn" nullable="0" physicalName="name_dolgn" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 599 | + <remarks>Название должности</remarks> | |
| 600 | + </column> | |
| 601 | + </folder> | |
| 602 | + <folder id="FOLTAB1573" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 603 | + </folder> | |
| 604 | + <folder id="FOLTAB1572" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 605 | + </folder> | |
| 606 | + <folder id="FOLTAB1574" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 607 | + <index id="IDX160" populated="true" UUID="3e5f3a6a-2bec-450f-ab10-b19e374140e3" clustered="false" name="gsmDolgn_pk" physicalName="gsmDolgn_pk" primaryKeyIndex="true" unique="false" > | |
| 608 | + <index-column id="IDC161" populated="true" UUID="d4ede2a4-3978-4b55-ac2e-9e5958677c5f" ascendingOrDescending="UNSPECIFIED" column-ref="COL158" name="dolgnid" physicalName="dolgnid" /> | |
| 609 | + </index> | |
| 610 | + </folder> | |
| 611 | + </table> | |
| 612 | + <table id="TAB162" populated="true" UUID="396ba542-6fd5-44f8-8aed-dbc574e593a1" name="gsmSklad" objectType="TABLE" physicalName="gsmSklad" > | |
| 613 | + <remarks>Склад</remarks> | |
| 614 | + <folder id="FOLTAB1621" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 615 | + <column id="COL163" populated="true" UUID="0ff78117-320c-49e4-96aa-ffa0a8d4fae2" autoIncrement="true" autoIncrementSequenceName="gsmSklad_skladid_seq" defaultValue="" name="skladid" nullable="0" physicalName="skladid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 616 | + <remarks>id записи склада</remarks> | |
| 617 | + </column> | |
| 618 | + <column id="COL164" populated="true" UUID="8cbdf3bb-71c5-4728-a772-c876bb1ac518" autoIncrement="false" autoIncrementSequenceName="gsmPartnerCont_partn_contid_seq" defaultValue="" name="partn_contid" nullable="0" physicalName="partn_contid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 619 | + <remarks>id контакта партнера</remarks> | |
| 620 | + </column> | |
| 621 | + <column id="COL165" populated="true" UUID="af410980-4390-4488-b650-50802473272b" autoIncrement="false" autoIncrementSequenceName="gsmSklad_name_cli_seq" defaultValue="" name="name_cli" nullable="1" physicalName="name_cli" precision="150" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="12" userDefinedTypeUUID="831ac2d4-0e65-47ec-a0b7-62b7f6b8760a" > | |
| 622 | + <remarks>Название клиента, которому дали карту</remarks> | |
| 623 | + </column> | |
| 624 | + <column id="COL166" populated="true" UUID="32e31e13-e148-4cc3-9c23-f210589ec053" autoIncrement="false" autoIncrementSequenceName="gsmPhones_phoneid_seq" defaultValue="" name="phoneid" nullable="0" physicalName="phoneid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 625 | + <remarks></remarks> | |
| 626 | + </column> | |
| 627 | + </folder> | |
| 628 | + <folder id="FOLTAB1623" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 629 | + </folder> | |
| 630 | + <folder id="FOLTAB1622" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 631 | + </folder> | |
| 632 | + <folder id="FOLTAB1624" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 633 | + <index id="IDX167" populated="true" UUID="997024ea-49c7-4d63-b162-167506faa8a2" clustered="false" name="gsmSklad_pk" physicalName="gsmSklad_pk" primaryKeyIndex="true" unique="false" > | |
| 634 | + <index-column id="IDC168" populated="true" UUID="5e1275fc-4110-4dc2-a622-7f3360f366f6" ascendingOrDescending="UNSPECIFIED" column-ref="COL163" name="skladid" physicalName="skladid" /> | |
| 635 | + </index> | |
| 636 | + </folder> | |
| 637 | + </table> | |
| 638 | + <table id="TAB169" populated="true" UUID="de389b1c-8ad6-4426-bc86-f9e12f37ed09" name="gsmTovPartner" objectType="TABLE" physicalName="gsmTovPartner" > | |
| 639 | + <remarks></remarks> | |
| 640 | + <folder id="FOLTAB1691" populated="true" name="Columns" physicalName="Columns" type="1"> | |
| 641 | + <column id="COL170" populated="true" UUID="9e4a194b-24f6-46ed-aca7-dcfd2806590a" autoIncrement="false" autoIncrementSequenceName="gsmTovPartner_tovpartnerid_seq" defaultValue="" name="tovpartnerid" nullable="0" physicalName="tovpartnerid" precision="0" primaryKeySeq="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 642 | + <remarks>id товара партнера</remarks> | |
| 643 | + </column> | |
| 644 | + <column id="COL171" populated="true" UUID="062487cc-8339-4f50-aa74-904d1658f656" autoIncrement="false" autoIncrementSequenceName="gsmTov_tovid_seq" defaultValue="" name="tovid" nullable="0" physicalName="tovid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 645 | + <remarks>id товара</remarks> | |
| 646 | + </column> | |
| 647 | + <column id="COL172" populated="true" UUID="303b849c-a0de-4b07-a5da-8ec3b70b8032" autoIncrement="false" autoIncrementSequenceName="gsmPartners_cena_tov_seq" defaultValue="0" name="cena_tov" nullable="0" physicalName="cena_tov" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 648 | + <remarks>Условия поставки</remarks> | |
| 649 | + </column> | |
| 650 | + <column id="COL173" populated="true" UUID="50ebaf81-f2ad-42c6-847d-42c6a3a4bc99" autoIncrement="false" autoIncrementSequenceName="gsmPartners_oplat_nam_seq" defaultValue="0" name="oplat_nam" nullable="0" physicalName="oplat_nam" precision="15" referenceCount="1" scale="2" sourceDataTypeName="UserDefinedSQLType" type="3" userDefinedTypeUUID="cc1304ea-628a-4fc5-a84a-06ba14759152" > | |
| 651 | + <remarks>Оплата нам</remarks> | |
| 652 | + </column> | |
| 653 | + <column id="COL174" populated="true" UUID="4da653cc-a231-4cd7-a711-7ef4301fc356" autoIncrement="false" autoIncrementSequenceName="gsmPartners_partnerid_seq" defaultValue="" name="partnerid" nullable="0" physicalName="partnerid" precision="0" referenceCount="1" scale="0" sourceDataTypeName="UserDefinedSQLType" type="4" userDefinedTypeUUID="63b011c7-c81f-4c75-8271-632b3c87f727" > | |
| 654 | + <remarks>id партнера</remarks> | |
| 655 | + </column> | |
| 656 | + </folder> | |
| 657 | + <folder id="FOLTAB1693" populated="true" name="Exported Keys" physicalName="Exported Keys" type="3"> | |
| 658 | + </folder> | |
| 659 | + <folder id="FOLTAB1692" populated="true" name="Imported Keys" physicalName="Imported Keys" type="2"> | |
| 660 | + </folder> | |
| 661 | + <folder id="FOLTAB1694" populated="true" name="Indices" physicalName="Indices" type="4"> | |
| 662 | + <index id="IDX175" populated="true" UUID="d760380c-8e41-401f-a48f-3363fd3cb3d9" clustered="false" name="TovPartner_pk" physicalName="TovPartner_pk" primaryKeyIndex="true" unique="false" > | |
| 663 | + <index-column id="IDC176" populated="true" UUID="13160c86-21a4-4364-9300-d3cb6eec1611" ascendingOrDescending="UNSPECIFIED" column-ref="COL170" name="tovpartnerid" physicalName="tovpartnerid" /> | |
| 664 | + </index> | |
| 665 | + </folder> | |
| 666 | + </table> | |
| 667 | + <relationships> | |
| 668 | + <relationship id="REL177" populated="true" UUID="a003f05c-c984-45a3-827f-434644cf7d18" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmAcc_gsmPhones_fk" physicalName="gsmAcc_gsmPhones_fk" pk-table-ref="TAB1" pkCardinality="2" updateRule="0" > | |
| 669 | + <column-mapping id="CMP178" populated="true" UUID="da750d09-9a28-45fd-9c2a-4cfaaffa9e6e" fk-column-ref="COL12" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL2" /> | |
| 670 | + </relationship> | |
| 671 | + <relationship id="REL179" populated="true" UUID="c6fd9886-a4b8-4500-8447-22e78e1a5dab" deferrability="7" deleteRule="0" fk-table-ref="TAB59" fkCardinality="7" identifying="false" name="gsmPhones_gsmPackPhones_fk" physicalName="gsmPhones_gsmPackPhones_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 672 | + <column-mapping id="CMP180" populated="true" UUID="33b695c0-40d8-47ed-845d-7fb28d6df994" fk-column-ref="COL61" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 673 | + </relationship> | |
| 674 | + <relationship id="REL181" populated="true" UUID="c3835d2b-1c5c-4ac8-a373-9a3a8cd87b66" deferrability="7" deleteRule="0" fk-table-ref="TAB65" fkCardinality="7" identifying="false" name="gsmPhones_gsmActivePhone_fk" physicalName="gsmPhones_gsmActivePhone_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 675 | + <column-mapping id="CMP182" populated="true" UUID="4763186e-2d16-4b61-b694-cd8405463197" fk-column-ref="COL67" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 676 | + </relationship> | |
| 677 | + <relationship id="REL183" populated="true" UUID="52be6913-6b27-412e-961f-94f1447da0b1" deferrability="7" deleteRule="0" fk-table-ref="TAB96" fkCardinality="7" identifying="false" name="gsmPhones_gsmPhoneComments_fk" physicalName="gsmPhones_gsmPhoneComments_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 678 | + <column-mapping id="CMP184" populated="true" UUID="92c2cad8-06e5-4c2a-b55e-8deb5fbbd3d3" fk-column-ref="COL99" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 679 | + </relationship> | |
| 680 | + <relationship id="REL185" populated="true" UUID="207b1536-f651-403a-9fdc-66105179bd86" deferrability="7" deleteRule="0" fk-table-ref="TAB104" fkCardinality="7" identifying="false" name="gsmPhones_gsmPhoneTask_fk" physicalName="gsmPhones_gsmPhoneTask_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 681 | + <column-mapping id="CMP186" populated="true" UUID="0349af81-56af-4eee-a2fc-61ea4dc90533" fk-column-ref="COL106" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 682 | + </relationship> | |
| 683 | + <relationship id="REL187" populated="true" UUID="154958d5-7790-4a22-8467-1fffdb2ef384" deferrability="7" deleteRule="0" fk-table-ref="TAB119" fkCardinality="7" identifying="false" name="gsmPhones_gsmBalans_fk" physicalName="gsmPhones_gsmBalans_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 684 | + <column-mapping id="CMP188" populated="true" UUID="937188b5-ec8e-495a-a073-378dea03758b" fk-column-ref="COL121" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 685 | + </relationship> | |
| 686 | + <relationship id="REL189" populated="true" UUID="f837e89e-db89-4aa3-9e24-0748cf372e78" deferrability="7" deleteRule="0" fk-table-ref="TAB126" fkCardinality="7" identifying="false" name="gsmPhones_gsmBonus_fk" physicalName="gsmPhones_gsmBonus_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 687 | + <column-mapping id="CMP190" populated="true" UUID="8f6947e2-7d0a-4dca-8c0c-97a09fa795ac" fk-column-ref="COL128" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 688 | + </relationship> | |
| 689 | + <relationship id="REL191" populated="true" UUID="6083585b-2eb0-4f53-8f62-f8ed0308b555" deferrability="7" deleteRule="1" fk-table-ref="TAB162" fkCardinality="7" identifying="false" name="gsmPhones_gsmSklad_fk" physicalName="gsmPhones_gsmSklad_fk" pk-table-ref="TAB9" pkCardinality="2" updateRule="0" > | |
| 690 | + <column-mapping id="CMP192" populated="true" UUID="510e04fe-a2db-489e-ad32-71de7d565726" fk-column-ref="COL166" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL10" /> | |
| 691 | + </relationship> | |
| 692 | + <relationship id="REL193" populated="true" UUID="36a1eb11-d8e4-4d43-b238-2fea8fa2bfa9" deferrability="7" deleteRule="1" fk-table-ref="TAB1" fkCardinality="7" identifying="false" name="gsmAccStatus_gsmAcc_fk" physicalName="gsmAccStatus_gsmAcc_fk" pk-table-ref="TAB21" pkCardinality="2" updateRule="0" > | |
| 693 | + <column-mapping id="CMP194" populated="true" UUID="91a61bff-edc8-4529-a83c-ae9edefd9481" fk-column-ref="COL4" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL22" /> | |
| 694 | + </relationship> | |
| 695 | + <relationship id="REL195" populated="true" UUID="003dd1ae-9508-4d91-9f29-86e22c37dca0" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmAccStatus_gsmPhones_fk" physicalName="gsmAccStatus_gsmPhones_fk" pk-table-ref="TAB21" pkCardinality="2" updateRule="0" > | |
| 696 | + <column-mapping id="CMP196" populated="true" UUID="b2d8ceb8-b0d5-42f6-9649-aa8d6bc4be7c" fk-column-ref="COL13" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL22" /> | |
| 697 | + </relationship> | |
| 698 | + <relationship id="REL197" populated="true" UUID="a9a69742-4db5-4007-8a25-2ed86750dea8" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmControl_gsmPhones_fk" physicalName="gsmControl_gsmPhones_fk" pk-table-ref="TAB27" pkCardinality="2" updateRule="0" > | |
| 699 | + <column-mapping id="CMP198" populated="true" UUID="aa1b3e81-0cc0-4210-95f0-cebae74ee2c5" fk-column-ref="COL14" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL28" /> | |
| 700 | + </relationship> | |
| 701 | + <relationship id="REL199" populated="true" UUID="88e17e8a-36ff-4721-be03-a08a64de4baa" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmProj_gsmPhones_fk" physicalName="gsmProj_gsmPhones_fk" pk-table-ref="TAB33" pkCardinality="2" updateRule="0" > | |
| 702 | + <column-mapping id="CMP200" populated="true" UUID="f6251e6d-8a0f-4671-8bdb-aaa949523a84" fk-column-ref="COL15" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL34" /> | |
| 703 | + </relationship> | |
| 704 | + <relationship id="REL201" populated="true" UUID="f9947879-19c6-4310-9850-d8f5c80d37c7" deferrability="7" deleteRule="0" fk-table-ref="TAB134" fkCardinality="7" identifying="false" name="gsmProj_gsmPartners_fk" physicalName="gsmProj_gsmPartners_fk" pk-table-ref="TAB33" pkCardinality="2" updateRule="0" > | |
| 705 | + <column-mapping id="CMP202" populated="true" UUID="e413230f-c753-4b2f-9360-ba860954db08" fk-column-ref="COL139" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL34" /> | |
| 706 | + </relationship> | |
| 707 | + <relationship id="REL203" populated="true" UUID="abec855f-4b40-4fc5-8610-24ec70f26f3a" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmTarifs_gsmPhones_fk" physicalName="gsmTarifs_gsmPhones_fk" pk-table-ref="TAB39" pkCardinality="2" updateRule="0" > | |
| 708 | + <column-mapping id="CMP204" populated="true" UUID="15ee91d2-9c5e-47e5-8ce2-681452a5ae2e" fk-column-ref="COL16" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL40" /> | |
| 709 | + </relationship> | |
| 710 | + <relationship id="REL205" populated="true" UUID="34d7107e-c272-43d5-923b-211c24952ff9" deferrability="7" deleteRule="1" fk-table-ref="TAB53" fkCardinality="7" identifying="false" name="gsmGroupPack_gsmPackName_fk" physicalName="gsmGroupPack_gsmPackName_fk" pk-table-ref="TAB46" pkCardinality="2" updateRule="0" > | |
| 711 | + <column-mapping id="CMP206" populated="true" UUID="a43a930e-e413-4975-9c21-b8e4d4339a97" fk-column-ref="COL55" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL47" /> | |
| 712 | + </relationship> | |
| 713 | + <relationship id="REL207" populated="true" UUID="dfaf760d-4cdb-47e4-9f89-b0371ea6a1d1" deferrability="7" deleteRule="1" fk-table-ref="TAB59" fkCardinality="7" identifying="false" name="gsmPackName_gsmPackPhones_fk" physicalName="gsmPackName_gsmPackPhones_fk" pk-table-ref="TAB53" pkCardinality="2" updateRule="0" > | |
| 714 | + <column-mapping id="CMP208" populated="true" UUID="3a5f91e0-8020-48be-981d-e1ceb0c90d0d" fk-column-ref="COL62" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL54" /> | |
| 715 | + </relationship> | |
| 716 | + <relationship id="REL209" populated="true" UUID="7b60418f-f8a7-4461-aaf2-9e7bb03569f0" deferrability="7" deleteRule="0" fk-table-ref="TAB119" fkCardinality="7" identifying="false" name="gsmPeriods_gsmBalans_fk" physicalName="gsmPeriods_gsmBalans_fk" pk-table-ref="TAB72" pkCardinality="2" updateRule="0" > | |
| 717 | + <column-mapping id="CMP210" populated="true" UUID="22e48d6e-a378-49a1-a482-106f87936330" fk-column-ref="COL122" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL73" /> | |
| 718 | + </relationship> | |
| 719 | + <relationship id="REL211" populated="true" UUID="70fbad38-cb0b-4cef-9416-29dc81bce74b" deferrability="7" deleteRule="1" fk-table-ref="TAB9" fkCardinality="7" identifying="false" name="gsmCli_gsmPhones_fk" physicalName="gsmCli_gsmPhones_fk" pk-table-ref="TAB78" pkCardinality="2" updateRule="0" > | |
| 720 | + <column-mapping id="CMP212" populated="true" UUID="2b5ddd1d-5ff4-44b4-bb2f-6e9ba594fdba" fk-column-ref="COL18" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL79" /> | |
| 721 | + </relationship> | |
| 722 | + <relationship id="REL213" populated="true" UUID="8ff13d72-dd41-488f-9ce1-e649d91d5c84" deferrability="7" deleteRule="0" fk-table-ref="TAB89" fkCardinality="7" identifying="false" name="gsmCli_gsmCliContacts_fk" physicalName="gsmCli_gsmCliContacts_fk" pk-table-ref="TAB78" pkCardinality="2" updateRule="0" > | |
| 723 | + <column-mapping id="CMP214" populated="true" UUID="cabd89db-d13b-4419-b573-c004d3b35590" fk-column-ref="COL91" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL79" /> | |
| 724 | + </relationship> | |
| 725 | + <relationship id="REL215" populated="true" UUID="0e9f5a5b-a24e-421f-afed-f24b248680c9" deferrability="7" deleteRule="1" fk-table-ref="TAB89" fkCardinality="7" identifying="false" name="gsmTypeContact_gsmCliContacts_fk" physicalName="gsmTypeContact_gsmCliContacts_fk" pk-table-ref="TAB84" pkCardinality="2" updateRule="0" > | |
| 726 | + <column-mapping id="CMP216" populated="true" UUID="1debf62b-11a6-4944-b8c5-8b9d0ca94958" fk-column-ref="COL92" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL85" /> | |
| 727 | + </relationship> | |
| 728 | + <relationship id="REL217" populated="true" UUID="c70122ee-eb89-4606-ae92-c7817b2666fb" deferrability="7" deleteRule="0" fk-table-ref="TAB148" fkCardinality="7" identifying="false" name="gsmPartners_gsmPartnerCont_fk" physicalName="gsmPartners_gsmPartnerCont_fk" pk-table-ref="TAB134" pkCardinality="2" updateRule="0" > | |
| 729 | + <column-mapping id="CMP218" populated="true" UUID="b228ee0f-adbb-4346-b535-33c3d49ed8ec" fk-column-ref="COL150" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL135" /> | |
| 730 | + </relationship> | |
| 731 | + <relationship id="REL219" populated="true" UUID="35772a0a-4247-4332-8353-88090ec6ddc6" deferrability="7" deleteRule="0" fk-table-ref="TAB169" fkCardinality="7" identifying="false" name="gsmPartners_gsmTovPartner_fk" physicalName="gsmPartners_gsmTovPartner_fk" pk-table-ref="TAB134" pkCardinality="2" updateRule="0" > | |
| 732 | + <column-mapping id="CMP220" populated="true" UUID="5b0b42d2-9506-45e7-80db-d1fa9d520ac5" fk-column-ref="COL174" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL135" /> | |
| 733 | + </relationship> | |
| 734 | + <relationship id="REL221" populated="true" UUID="5e4edaf3-68f3-4d8b-acb3-963ccd40859a" deferrability="7" deleteRule="0" fk-table-ref="TAB169" fkCardinality="7" identifying="false" name="gsmTov_gsmTovPartner_fk" physicalName="gsmTov_gsmTovPartner_fk" pk-table-ref="TAB142" pkCardinality="2" updateRule="0" > | |
| 735 | + <column-mapping id="CMP222" populated="true" UUID="ff8cb395-faf0-46b7-9bf8-4a0f592eda62" fk-column-ref="COL171" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL143" /> | |
| 736 | + </relationship> | |
| 737 | + <relationship id="REL223" populated="true" UUID="385bc0dc-7503-4277-af13-cb1a3a89a598" deferrability="7" deleteRule="0" fk-table-ref="TAB162" fkCardinality="7" identifying="false" name="gsmPartnerCont_gsmSklad_fk" physicalName="gsmPartnerCont_gsmSklad_fk" pk-table-ref="TAB148" pkCardinality="2" updateRule="0" > | |
| 738 | + <column-mapping id="CMP224" populated="true" UUID="a802710b-2bb2-4d15-98ad-c94b38de0f04" fk-column-ref="COL164" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL149" /> | |
| 739 | + </relationship> | |
| 740 | + <relationship id="REL225" populated="true" UUID="74b8c583-66eb-4d11-95d1-fd322f2c2af4" deferrability="7" deleteRule="1" fk-table-ref="TAB148" fkCardinality="7" identifying="false" name="gsmDolgn_gsmPartnerCont_fk" physicalName="gsmDolgn_gsmPartnerCont_fk" pk-table-ref="TAB157" pkCardinality="2" updateRule="0" > | |
| 741 | + <column-mapping id="CMP226" populated="true" UUID="46f4be0c-f6ea-4b9c-8d95-d9be6eb5410c" fk-column-ref="COL154" name="Column Mapping" physicalName="Column Mapping" pk-column-ref="COL158" /> | |
| 742 | + </relationship> | |
| 743 | + </relationships> | |
| 744 | + </target-database> | |
| 745 | + <ddl-generator type="ca.sqlpower.architect.ddl.GenericDDLGenerator" allow-connection="true"> </ddl-generator> | |
| 746 | + <liquibase-settings useSeparateChangeSets="false" generateId="false" idStart="1"/> | |
| 747 | + <create-kettle-job-settings filePath="" jobName="" schemaName="" kettleJoinType="0" savingToFile="true" /> | |
| 748 | + <play-pen zoom="1.0" viewportX="0" viewportY="0" relationship-style="direct" names-displayLogicalNames="true" showPrimaryTag="true" showForeignTag="true" showAlternateTag="true" columnVisibility="ALL" relationshipLabelVisibility="true"> | |
| 749 | + <table-pane table-ref="TAB1" x="46" y="212" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 750 | + <table-pane table-ref="TAB9" x="452" y="363" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 751 | + <table-pane table-ref="TAB21" x="43" y="403" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 752 | + <table-pane table-ref="TAB27" x="58" y="45" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 753 | + <table-pane table-ref="TAB33" x="56" y="126" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 754 | + <table-pane table-ref="TAB39" x="720" y="586" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 755 | + <table-pane table-ref="TAB46" x="334" y="763" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 756 | + <table-pane table-ref="TAB53" x="641" y="748" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 757 | + <table-pane table-ref="TAB59" x="434" y="600" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 758 | + <table-pane table-ref="TAB65" x="1181" y="303" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 759 | + <table-pane table-ref="TAB72" x="1192" y="179" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 760 | + <table-pane table-ref="TAB78" x="998" y="557" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 761 | + <table-pane table-ref="TAB84" x="1111" y="833" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 762 | + <table-pane table-ref="TAB89" x="1098" y="698" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 763 | + <table-pane table-ref="TAB96" x="55" y="537" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 764 | + <table-pane table-ref="TAB104" x="118" y="743" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 765 | + <table-pane table-ref="TAB113" x="866" y="804" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 766 | + <table-pane table-ref="TAB119" x="884" y="299" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 767 | + <table-pane table-ref="TAB126" x="868" y="176" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 768 | + <table-pane table-ref="TAB134" x="336" y="33" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 769 | + <table-pane table-ref="TAB142" x="835" y="20" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 770 | + <table-pane table-ref="TAB148" x="444" y="222" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 771 | + <table-pane table-ref="TAB157" x="945" y="110" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 772 | + <table-pane table-ref="TAB162" x="1191" y="464" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 773 | + <table-pane table-ref="TAB169" x="585" y="70" bgColor="0xeeeeee" fgColor="0x000000" rounded="false" dashed="false"/> | |
| 774 | + <table-link relationship-ref="REL177" pkConnection="0.47368421052631576" fkConnection="0.5070422535211268" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 775 | + <table-link relationship-ref="REL193" pkConnection="0.49760765550239233" fkConnection="0.49760765550239233" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 776 | + <table-link relationship-ref="REL195" pkConnection="0.16901408450704225" fkConnection="0.6451612903225806" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 777 | + <table-link relationship-ref="REL197" pkConnection="0.8591549295774648" fkConnection="0.23870967741935484" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 778 | + <table-link relationship-ref="REL199" pkConnection="0.8450704225352113" fkConnection="0.2967741935483871" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 779 | + <table-link relationship-ref="REL203" pkConnection="0.23976608187134502" fkConnection="0.8708133971291866" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 780 | + <table-link relationship-ref="REL205" pkConnection="0.49295774647887325" fkConnection="0.49122807017543857" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 781 | + <table-link relationship-ref="REL179" pkConnection="0.45454545454545453" fkConnection="0.5123152709359606" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 782 | + <table-link relationship-ref="REL207" pkConnection="0.2981651376146789" fkConnection="0.7061611374407583" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 783 | + <table-link relationship-ref="REL181" pkConnection="0.952755905511811" fkConnection="0.7543859649122807" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 784 | + <table-link relationship-ref="REL211" pkConnection="0.5087719298245614" fkConnection="1.0" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 785 | + <table-link relationship-ref="REL213" pkConnection="0.608433734939759" fkConnection="0.4143646408839779" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 786 | + <table-link relationship-ref="REL215" pkConnection="0.5922330097087378" fkConnection="0.3446601941747573" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="72"/> | |
| 787 | + <table-link relationship-ref="REL183" pkConnection="0.11483253588516747" fkConnection="0.6228813559322034" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 788 | + <table-link relationship-ref="REL185" pkConnection="0.3588516746411483" fkConnection="0.5580110497237569" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 789 | + <table-link relationship-ref="REL187" pkConnection="0.4645161290322581" fkConnection="0.5614035087719298" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 790 | + <table-link relationship-ref="REL209" pkConnection="0.5211267605633803" fkConnection="0.5211267605633803" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 791 | + <table-link relationship-ref="REL189" pkConnection="0.16129032258064516" fkConnection="0.5151515151515151" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 792 | + <table-link relationship-ref="REL201" pkConnection="0.4788732394366197" fkConnection="0.9191919191919192" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 793 | + <table-link relationship-ref="REL217" pkConnection="0.5384615384615384" fkConnection="0.4852941176470588" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="132"/> | |
| 794 | + <table-link relationship-ref="REL225" pkConnection="0.3684210526315789" fkConnection="0.831858407079646" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 795 | + <table-link relationship-ref="REL223" pkConnection="0.7522123893805309" fkConnection="0.6338028169014085" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 796 | + <table-link relationship-ref="REL221" pkConnection="0.39436619718309857" fkConnection="0.48484848484848486" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="18"/> | |
| 797 | + <table-link relationship-ref="REL219" pkConnection="0.898989898989899" fkConnection="0.898989898989899" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 798 | + <table-link relationship-ref="REL191" pkConnection="0.5548387096774193" fkConnection="0.8941176470588236" rLineColor="0x000000" pkLabelText="" fkLabelText="" orientation="33"/> | |
| 799 | + </play-pen> | |
| 800 | + <critic-manager> | |
| 801 | + <critic-grouping platformType="Generic" enabled="true"> | |
| 802 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.PrimaryKeyCritic" severity="ERROR"/> | |
| 803 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.RelationshipMappingTypeCritic" severity="ERROR"/> | |
| 804 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.EmptyRelationshipCritic" severity="ERROR"/> | |
| 805 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.AlphaNumericNameCritic" severity="ERROR"/> | |
| 806 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.AlphaNumericSequenceNameCritic" severity="ERROR"/> | |
| 807 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SetDefaultOnColumnWithNoDefaultCritic" severity="ERROR"/> | |
| 808 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SetNullOnNonNullableColumnCritic" severity="ERROR"/> | |
| 809 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.DuplicateNameCritic" severity="ERROR"/> | |
| 810 | + </critic-grouping> | |
| 811 | + <critic-grouping platformType="DB2" enabled="true"> | |
| 812 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.DB2UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 813 | + </critic-grouping> | |
| 814 | + <critic-grouping platformType="H2" enabled="true"> | |
| 815 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.H2UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 816 | + </critic-grouping> | |
| 817 | + <critic-grouping platformType="HSQLDB" enabled="true"> | |
| 818 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.HSQLDBUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 819 | + </critic-grouping> | |
| 820 | + <critic-grouping platformType="MySQL" enabled="true"> | |
| 821 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.MySQLCommentCritic" severity="ERROR"/> | |
| 822 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.MySQLReservedWordsCritic" severity="ERROR"/> | |
| 823 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.MySQLUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 824 | + </critic-grouping> | |
| 825 | + <critic-grouping platformType="Oracle" enabled="true"> | |
| 826 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.OraclePhysicalNameCritic" severity="ERROR"/> | |
| 827 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.OracleReservedWordsCritic" severity="ERROR"/> | |
| 828 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.OracleUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 829 | + </critic-grouping> | |
| 830 | + <critic-grouping platformType="PostgreSQL" enabled="true"> | |
| 831 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.PostgreSQLReservedWordsCritic" severity="ERROR"/> | |
| 832 | + </critic-grouping> | |
| 833 | + <critic-grouping platformType="SQL Server" enabled="true"> | |
| 834 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServerUnsupportedFeaturesCritic" severity="ERROR"/> | |
| 835 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServerReservedWordsCritic" severity="ERROR"/> | |
| 836 | + </critic-grouping> | |
| 837 | + <critic-grouping platformType="SQL Server 2000" enabled="true"> | |
| 838 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServer2000UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 839 | + </critic-grouping> | |
| 840 | + <critic-grouping platformType="SQL Server 2005" enabled="true"> | |
| 841 | + <critic-settings class="ca.sqlpower.architect.ddl.critic.impl.SQLServer2005UnsupportedFeaturesCritic" severity="ERROR"/> | |
| 842 | + </critic-grouping> | |
| 843 | + </critic-manager> | |
| 844 | + <profiles topNCount="10"> | |
| 845 | + </profiles> | |
| 846 | + <olap> | |
| 847 | + </olap> | |
| 848 | + <olap-gui> | |
| 849 | + </olap-gui> | |
| 850 | +</architect-project> |
k2shop/k2shop_sql/create.sql
Changes suppressed. Click to show
| 1 | +/**************************************************************************** | |
| 2 | +* SQL создания базы данных системы Корпорация 2 | |
| 3 | +* Кодировка базы данных UTF8 | |
| 4 | +*****************************************************************************/ | |
| 5 | + | |
| 6 | +/*** ВНИМАНИЕ! НУЖНО ПОЗАМЕНЯТЬ НА INNODB ? */ | |
| 7 | + | |
| 8 | +CREATE TABLE `wa_contact` ( | |
| 9 | + `id` INTEGER(11) NOT NULL AUTO_INCREMENT, | |
| 10 | + `name` VARCHAR(150) COLLATE utf8_general_ci NOT NULL, | |
| 11 | + `firstname` VARCHAR(50) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 12 | + `middlename` VARCHAR(50) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 13 | + `lastname` VARCHAR(50) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 14 | + `title` VARCHAR(50) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 15 | + `company` VARCHAR(150) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 16 | + `jobtitle` VARCHAR(50) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 17 | + `company_contact_id` INTEGER(11) NOT NULL DEFAULT 0, | |
| 18 | + `is_company` TINYINT(1) NOT NULL DEFAULT 0, | |
| 19 | + `is_user` TINYINT(1) NOT NULL DEFAULT 0, | |
| 20 | + `login` VARCHAR(32) COLLATE utf8_general_ci DEFAULT NULL, | |
| 21 | + `password` VARCHAR(128) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 22 | + `last_datetime` DATETIME DEFAULT NULL, | |
| 23 | + `sex` ENUM('m','f') COLLATE utf8_general_ci DEFAULT NULL, | |
| 24 | + `birth_day` TINYINT(2) UNSIGNED DEFAULT NULL, | |
| 25 | + `birth_month` TINYINT(2) UNSIGNED DEFAULT NULL, | |
| 26 | + `birth_year` SMALLINT(4) DEFAULT NULL, | |
| 27 | + `about` TEXT COLLATE utf8_general_ci, | |
| 28 | + `photo` INTEGER(10) UNSIGNED NOT NULL DEFAULT 0, | |
| 29 | + `create_datetime` DATETIME NOT NULL, | |
| 30 | + `create_app_id` VARCHAR(32) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 31 | + `create_method` VARCHAR(32) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 32 | + `create_contact_id` INTEGER(11) NOT NULL DEFAULT 0, | |
| 33 | + `locale` VARCHAR(8) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 34 | + `timezone` VARCHAR(64) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 35 | + PRIMARY KEY (`id`) USING BTREE, | |
| 36 | + UNIQUE KEY `login` (`login`) USING BTREE, | |
| 37 | + KEY `name` (`name`) USING BTREE, | |
| 38 | + KEY `id_name` (`id`, `name`) USING BTREE | |
| 39 | +) ENGINE=InnoDB | |
| 40 | +AUTO_INCREMENT=22 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 41 | +; | |
| 42 | + | |
| 43 | +CREATE TABLE `wa_contact_categories` ( | |
| 44 | + `category_id` INTEGER(11) NOT NULL, | |
| 45 | + `contact_id` INTEGER(11) NOT NULL, | |
| 46 | + PRIMARY KEY (`category_id`, `contact_id`) USING BTREE, | |
| 47 | + KEY `contact_id` (`contact_id`) USING BTREE | |
| 48 | +) ENGINE=InnoDB | |
| 49 | +ROW_FORMAT=FIXED CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 50 | +; | |
| 51 | + | |
| 52 | + | |
| 53 | +CREATE TABLE `wa_contact_category` ( | |
| 54 | + `id` INTEGER(11) NOT NULL AUTO_INCREMENT, | |
| 55 | + `name` VARCHAR(255) COLLATE utf8_general_ci NOT NULL, | |
| 56 | + `system_id` VARCHAR(64) COLLATE utf8_general_ci DEFAULT NULL, | |
| 57 | + `app_id` VARCHAR(32) COLLATE utf8_general_ci DEFAULT NULL, | |
| 58 | + `icon` VARCHAR(255) COLLATE utf8_general_ci DEFAULT NULL, | |
| 59 | + `cnt` INTEGER(11) NOT NULL DEFAULT 0, | |
| 60 | + PRIMARY KEY (`id`) USING BTREE, | |
| 61 | + UNIQUE KEY `system_id` (`system_id`) USING BTREE | |
| 62 | +) ENGINE=InnoDB | |
| 63 | +AUTO_INCREMENT=2 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 64 | +; | |
| 65 | + | |
| 66 | +CREATE TABLE `wa_contact_data` ( | |
| 67 | + `id` INTEGER(11) NOT NULL AUTO_INCREMENT, | |
| 68 | + `contact_id` INTEGER(11) NOT NULL, | |
| 69 | + `field` VARCHAR(32) COLLATE utf8_general_ci NOT NULL, | |
| 70 | + `ext` VARCHAR(32) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 71 | + `value` VARCHAR(255) COLLATE utf8_general_ci NOT NULL, | |
| 72 | + `sort` INTEGER(11) NOT NULL DEFAULT 0, | |
| 73 | + PRIMARY KEY (`id`) USING BTREE, | |
| 74 | + UNIQUE KEY `contact_field_sort` (`contact_id`, `field`, `sort`) USING BTREE, | |
| 75 | + KEY `contact_id` (`contact_id`) USING BTREE, | |
| 76 | + KEY `value` (`value`) USING BTREE, | |
| 77 | + KEY `field` (`field`) USING BTREE | |
| 78 | +) ENGINE=InnoDB | |
| 79 | +AUTO_INCREMENT=131 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 80 | +; | |
| 81 | + | |
| 82 | +CREATE TABLE `wa_contact_emails` ( | |
| 83 | + `id` INTEGER(11) NOT NULL AUTO_INCREMENT, | |
| 84 | + `contact_id` INTEGER(11) NOT NULL, | |
| 85 | + `email` VARCHAR(255) COLLATE utf8_general_ci NOT NULL, | |
| 86 | + `ext` VARCHAR(32) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 87 | + `sort` INTEGER(11) NOT NULL DEFAULT 0, | |
| 88 | + `status` ENUM('unknown','confirmed','unconfirmed','unavailable') COLLATE utf8_general_ci NOT NULL DEFAULT 'unknown', | |
| 89 | + PRIMARY KEY (`id`) USING BTREE, | |
| 90 | + UNIQUE KEY `contact_sort` (`contact_id`, `sort`) USING BTREE, | |
| 91 | + KEY `email` (`email`) USING BTREE, | |
| 92 | + KEY `status` (`status`) USING BTREE | |
| 93 | +) ENGINE=InnoDB | |
| 94 | +AUTO_INCREMENT=21 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 95 | +; | |
| 96 | + | |
| 97 | + | |
| 98 | +CREATE TABLE `wa_contact_rights` ( | |
| 99 | + `group_id` INTEGER(11) NOT NULL, | |
| 100 | + `app_id` VARCHAR(32) COLLATE utf8_general_ci NOT NULL, | |
| 101 | + `name` VARCHAR(64) COLLATE utf8_general_ci NOT NULL, | |
| 102 | + `value` INTEGER(11) NOT NULL, | |
| 103 | + PRIMARY KEY (`group_id`, `app_id`, `name`) USING BTREE, | |
| 104 | + KEY `name_value` (`name`, `value`, `group_id`, `app_id`) USING BTREE | |
| 105 | +) ENGINE=InnoDB | |
| 106 | +CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 107 | +; | |
| 108 | + | |
| 109 | +CREATE TABLE `wa_contact_settings` ( | |
| 110 | + `contact_id` INTEGER(11) NOT NULL, | |
| 111 | + `app_id` VARCHAR(32) COLLATE utf8_general_ci NOT NULL DEFAULT '', | |
| 112 | + `name` VARCHAR(32) COLLATE utf8_general_ci NOT NULL, | |
| 113 | + `value` TEXT COLLATE utf8_general_ci NOT NULL, | |
| 114 | + PRIMARY KEY (`contact_id`, `app_id`, `name`) USING BTREE | |
| 115 | +) ENGINE=InnoDB | |
| 116 | +CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 117 | +; | |
| 118 | + | |
| 119 | +CREATE TABLE `wa_country` ( | |
| 120 | + `name` VARCHAR(255) COLLATE utf8_general_ci NOT NULL, | |
| 121 | + `iso3letter` VARCHAR(3) COLLATE utf8_general_ci NOT NULL, | |
| 122 | + `iso2letter` VARCHAR(2) COLLATE utf8_general_ci NOT NULL, | |
| 123 | + `isonumeric` VARCHAR(3) COLLATE utf8_general_ci NOT NULL, | |
| 124 | + `fav_sort` INTEGER(11) DEFAULT NULL, | |
| 125 | + PRIMARY KEY (`iso3letter`) USING BTREE, | |
| 126 | + UNIQUE KEY `isonumeric` (`isonumeric`) USING BTREE, | |
| 127 | + UNIQUE KEY `iso2letter` (`iso2letter`) USING BTREE, | |
| 128 | + KEY `name` (`name`) USING BTREE | |
| 129 | +) ENGINE=InnoDB | |
| 130 | +CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 131 | +; | |
| 132 | + | |
| 133 | +INSERT INTO `wa_country` (`name`, `iso3letter`, `iso2letter`, `isonumeric`, `fav_sort`) VALUES | |
| 134 | +('Afghanistan', 'afg', 'af', '004', NULL), | |
| 135 | +('Åland Islands', 'ala', 'ax', '248', NULL), | |
| 136 | +('Albania', 'alb', 'al', '008', NULL), | |
| 137 | +('Algeria', 'dza', 'dz', '012', NULL), | |
| 138 | +('American Samoa', 'asm', 'as', '016', NULL), | |
| 139 | +('Andorra', 'and', 'ad', '020', NULL), | |
| 140 | +('Angola', 'ago', 'ao', '024', NULL), | |
| 141 | +('Anguilla', 'aia', 'ai', '660', NULL), | |
| 142 | +('Antigua and Barbuda', 'atg', 'ag', '028', NULL), | |
| 143 | +('Argentina', 'arg', 'ar', '032', NULL), | |
| 144 | +('Armenia', 'arm', 'am', '051', NULL), | |
| 145 | +('Aruba', 'abw', 'aw', '533', NULL), | |
| 146 | +('Australia', 'aus', 'au', '036', NULL), | |
| 147 | +('Austria', 'aut', 'at', '040', NULL), | |
| 148 | +('Azerbaijan', 'aze', 'az', '031', NULL), | |
| 149 | +('Bahamas', 'bhs', 'bs', '044', NULL), | |
| 150 | +('Bahrain', 'bhr', 'bh', '048', NULL), | |
| 151 | +('Bangladesh', 'bgd', 'bd', '050', NULL), | |
| 152 | +('Barbados', 'brb', 'bb', '052', NULL), | |
| 153 | +('Belarus', 'blr', 'by', '112', NULL), | |
| 154 | +('Belgium', 'bel', 'be', '056', NULL), | |
| 155 | +('Belize', 'blz', 'bz', '084', NULL), | |
| 156 | +('Benin', 'ben', 'bj', '204', NULL), | |
| 157 | +('Bermuda', 'bmu', 'bm', '060', NULL), | |
| 158 | +('Bhutan', 'btn', 'bt', '064', NULL), | |
| 159 | +('Bolivia, Plurinational State of', 'bol', 'bo', '068', NULL), | |
| 160 | +('Bosnia and Herzegovina', 'bih', 'ba', '070', NULL), | |
| 161 | +('Botswana', 'bwa', 'bw', '072', NULL), | |
| 162 | +('Bouvet Island', 'bvt', 'bv', '074', NULL), | |
| 163 | +('Brazil', 'bra', 'br', '076', NULL), | |
| 164 | +('British Indian Ocean Territory', 'iot', 'io', '086', NULL), | |
| 165 | +('Brunei Darussalam', 'brn', 'bn', '096', NULL), | |
| 166 | +('Bulgaria', 'bgr', 'bg', '100', NULL), | |
| 167 | +('Burkina Faso', 'bfa', 'bf', '854', NULL), | |
| 168 | +('Burundi', 'bdi', 'bi', '108', NULL), | |
| 169 | +('Côte d''Ivoire', 'civ', 'ci', '384', NULL), | |
| 170 | +('Cambodia', 'khm', 'kh', '116', NULL), | |
| 171 | +('Cameroon', 'cmr', 'cm', '120', NULL), | |
| 172 | +('Canada', 'can', 'ca', '124', NULL), | |
| 173 | +('Cape Verde', 'cpv', 'cv', '132', NULL), | |
| 174 | +('Cayman Islands', 'cym', 'ky', '136', NULL), | |
| 175 | +('Central African Republic', 'caf', 'cf', '140', NULL), | |
| 176 | +('Chad', 'tcd', 'td', '148', NULL), | |
| 177 | +('Chile', 'chl', 'cl', '152', NULL), | |
| 178 | +('China', 'chn', 'cn', '156', NULL), | |
| 179 | +('Christmas Island', 'cxr', 'cx', '162', NULL), | |
| 180 | +('Cocos (Keeling) Islands', 'cck', 'cc', '166', NULL), | |
| 181 | +('Colombia', 'col', 'co', '170', NULL), | |
| 182 | +('Comoros', 'com', 'km', '174', NULL), | |
| 183 | +('Congo', 'cog', 'cg', '178', NULL), | |
| 184 | +('Congo, the Democratic Republic of the', 'cod', 'cd', '180', NULL), | |
| 185 | +('Cook Islands', 'cok', 'ck', '184', NULL), | |
| 186 | +('Costa Rica', 'cri', 'cr', '188', NULL), | |
| 187 | +('Croatia', 'hrv', 'hr', '191', NULL), | |
| 188 | +('Cuba', 'cub', 'cu', '192', NULL), | |
| 189 | +('Cyprus', 'cyp', 'cy', '196', NULL), | |
| 190 | +('Czech Republic', 'cze', 'cz', '203', NULL), | |
| 191 | +('Denmark', 'dnk', 'dk', '208', NULL), | |
| 192 | +('Djibouti', 'dji', 'dj', '262', NULL), | |
| 193 | +('Dominica', 'dma', 'dm', '212', NULL), | |
| 194 | +('Dominican Republic', 'dom', 'do', '214', NULL), | |
| 195 | +('Ecuador', 'ecu', 'ec', '218', NULL), | |
| 196 | +('Egypt', 'egy', 'eg', '818', NULL), | |
| 197 | +('El Salvador', 'slv', 'sv', '222', NULL), | |
| 198 | +('Equatorial Guinea', 'gnq', 'gq', '226', NULL), | |
| 199 | +('Eritrea', 'eri', 'er', '232', NULL), | |
| 200 | +('Estonia', 'est', 'ee', '233', NULL), | |
| 201 | +('Ethiopia', 'eth', 'et', '231', NULL), | |
| 202 | +('Falkland Islands (Malvinas)', 'flk', 'fk', '238', NULL), | |
| 203 | +('Faroe Islands', 'fro', 'fo', '234', NULL), | |
| 204 | +('Fiji', 'fji', 'fj', '242', NULL), | |
| 205 | +('Finland', 'fin', 'fi', '246', NULL), | |
| 206 | +('France', 'fra', 'fr', '250', NULL), | |
| 207 | +('French Guiana', 'guf', 'gf', '254', NULL), | |
| 208 | +('French Polynesia', 'pyf', 'pf', '258', NULL), | |
| 209 | +('French Southern Territories', 'atf', 'tf', '260', NULL), | |
| 210 | +('Gabon', 'gab', 'ga', '266', NULL), | |
| 211 | +('Gambia', 'gmb', 'gm', '270', NULL), | |
| 212 | +('Georgia', 'geo', 'ge', '268', NULL), | |
| 213 | +('Germany', 'deu', 'de', '276', NULL), | |
| 214 | +('Ghana', 'gha', 'gh', '288', NULL), | |
| 215 | +('Gibraltar', 'gib', 'gi', '292', NULL), | |
| 216 | +('Greece', 'grc', 'gr', '300', NULL), | |
| 217 | +('Greenland', 'grl', 'gl', '304', NULL), | |
| 218 | +('Grenada', 'grd', 'gd', '308', NULL), | |
| 219 | +('Guadeloupe', 'glp', 'gp', '312', NULL), | |
| 220 | +('Guam', 'gum', 'gu', '316', NULL), | |
| 221 | +('Guatemala', 'gtm', 'gt', '320', NULL), | |
| 222 | +('Guinea', 'gin', 'gn', '324', NULL), | |
| 223 | +('Guinea-Bissau', 'gnb', 'gw', '624', NULL), | |
| 224 | +('Guyana', 'guy', 'gy', '328', NULL), | |
| 225 | +('Haiti', 'hti', 'ht', '332', NULL), | |
| 226 | +('Heard Island and McDonald Islands', 'hmd', 'hm', '334', NULL), | |
| 227 | +('Holy See (Vatican City State)', 'vat', 'va', '336', NULL), | |
| 228 | +('Honduras', 'hnd', 'hn', '340', NULL), | |
| 229 | +('Hong Kong', 'hkg', 'hk', '344', NULL), | |
| 230 | +('Hungary', 'hun', 'hu', '348', NULL), | |
| 231 | +('Iceland', 'isl', 'is', '352', NULL), | |
| 232 | +('India', 'ind', 'in', '356', NULL), | |
| 233 | +('Indonesia', 'idn', 'id', '360', NULL), | |
| 234 | +('Iran, Islamic Republic of', 'irn', 'ir', '364', NULL), | |
| 235 | +('Iraq', 'irq', 'iq', '368', NULL), | |
| 236 | +('Ireland', 'irl', 'ie', '372', NULL), | |
| 237 | +('Israel', 'isr', 'il', '376', NULL), | |
| 238 | +('Italy', 'ita', 'it', '380', NULL), | |
| 239 | +('Jamaica', 'jam', 'jm', '388', NULL), | |
| 240 | +('Japan', 'jpn', 'jp', '392', NULL), | |
| 241 | +('Jordan', 'jor', 'jo', '400', NULL), | |
| 242 | +('Kazakhstan', 'kaz', 'kz', '398', NULL), | |
| 243 | +('Kenya', 'ken', 'ke', '404', NULL), | |
| 244 | +('Kiribati', 'kir', 'ki', '296', NULL), | |
| 245 | +('Korea, Democratic People''s Republic of', 'prk', 'kp', '408', NULL), | |
| 246 | +('Korea, Republic of', 'kor', 'kr', '410', NULL), | |
| 247 | +('Kuwait', 'kwt', 'kw', '414', NULL), | |
| 248 | +('Kyrgyzstan', 'kgz', 'kg', '417', NULL), | |
| 249 | +('Lao People''s Democratic Republic', 'lao', 'la', '418', NULL), | |
| 250 | +('Latvia', 'lva', 'lv', '428', NULL), | |
| 251 | +('Lebanon', 'lbn', 'lb', '422', NULL), | |
| 252 | +('Lesotho', 'lso', 'ls', '426', NULL), | |
| 253 | +('Liberia', 'lbr', 'lr', '430', NULL), | |
| 254 | +('Libyan Arab Jamahiriya', 'lby', 'ly', '434', NULL), | |
| 255 | +('Liechtenstein', 'lie', 'li', '438', NULL), | |
| 256 | +('Lithuania', 'ltu', 'lt', '440', NULL), | |
| 257 | +('Luxembourg', 'lux', 'lu', '442', NULL), | |
| 258 | +('Macao', 'mac', 'mo', '446', NULL), | |
| 259 | +('Macedonia, the former Yugoslav Republic of', 'mkd', 'mk', '807', NULL), | |
| 260 | +('Madagascar', 'mdg', 'mg', '450', NULL), | |
| 261 | +('Malawi', 'mwi', 'mw', '454', NULL), | |
| 262 | +('Malaysia', 'mys', 'my', '458', NULL), | |
| 263 | +('Maldives', 'mdv', 'mv', '462', NULL), | |
| 264 | +('Mali', 'mli', 'ml', '466', NULL), | |
| 265 | +('Malta', 'mlt', 'mt', '470', NULL), | |
| 266 | +('Marshall Islands', 'mhl', 'mh', '584', NULL), | |
| 267 | +('Martinique', 'mtq', 'mq', '474', NULL), | |
| 268 | +('Mauritania', 'mrt', 'mr', '478', NULL), | |
| 269 | +('Mauritius', 'mus', 'mu', '480', NULL), | |
| 270 | +('Mayotte', 'myt', 'yt', '175', NULL), | |
| 271 | +('Mexico', 'mex', 'mx', '484', NULL), | |
| 272 | +('Micronesia, Federated States of', 'fsm', 'fm', '583', NULL), | |
| 273 | +('Moldova, Republic of', 'mda', 'md', '498', NULL), | |
| 274 | +('Monaco', 'mco', 'mc', '492', NULL), | |
| 275 | +('Mongolia', 'mng', 'mn', '496', NULL), | |
| 276 | +('Montenegro', 'mne', 'me', '499', NULL), | |
| 277 | +('Montserrat', 'msr', 'ms', '500', NULL), | |
| 278 | +('Morocco', 'mar', 'ma', '504', NULL), | |
| 279 | +('Mozambique', 'moz', 'mz', '508', NULL), | |
| 280 | +('Myanmar', 'mmr', 'mm', '104', NULL), | |
| 281 | +('Namibia', 'nam', 'na', '516', NULL), | |
| 282 | +('Nauru', 'nru', 'nr', '520', NULL), | |
| 283 | +('Nepal', 'npl', 'np', '524', NULL), | |
| 284 | +('Netherlands', 'nld', 'nl', '528', NULL), | |
| 285 | +('Netherlands Antilles', 'ant', 'an', '530', NULL), | |
| 286 | +('New Caledonia', 'ncl', 'nc', '540', NULL), | |
| 287 | +('New Zealand', 'nzl', 'nz', '554', NULL), | |
| 288 | +('Nicaragua', 'nic', 'ni', '558', NULL), | |
| 289 | +('Niger', 'ner', 'ne', '562', NULL), | |
| 290 | +('Nigeria', 'nga', 'ng', '566', NULL), | |
| 291 | +('Niue', 'niu', 'nu', '570', NULL), | |
| 292 | +('Norfolk Island', 'nfk', 'nf', '574', NULL), | |
| 293 | +('Northern Mariana Islands', 'mnp', 'mp', '580', NULL), | |
| 294 | +('Norway', 'nor', 'no', '578', NULL), | |
| 295 | +('Oman', 'omn', 'om', '512', NULL), | |
| 296 | +('Pakistan', 'pak', 'pk', '586', NULL), | |
| 297 | +('Palau', 'plw', 'pw', '585', NULL), | |
| 298 | +('Palestinian Territory, Occupied', 'pse', 'ps', '275', NULL), | |
| 299 | +('Panama', 'pan', 'pa', '591', NULL), | |
| 300 | +('Papua New Guinea', 'png', 'pg', '598', NULL), | |
| 301 | +('Paraguay', 'pry', 'py', '600', NULL), | |
| 302 | +('Peru', 'per', 'pe', '604', NULL), | |
| 303 | +('Philippines', 'phl', 'ph', '608', NULL), | |
| 304 | +('Pitcairn', 'pcn', 'pn', '612', NULL), | |
| 305 | +('Poland', 'pol', 'pl', '616', NULL), | |
| 306 | +('Portugal', 'prt', 'pt', '620', NULL), | |
| 307 | +('Puerto Rico', 'pri', 'pr', '630', NULL), | |
| 308 | +('Qatar', 'qat', 'qa', '634', NULL), | |
| 309 | +('Réunion', 'reu', 're', '638', NULL), | |
| 310 | +('Romania', 'rou', 'ro', '642', NULL), | |
| 311 | +('Russian Federation', 'rus', 'ru', '643', NULL), | |
| 312 | +('Rwanda', 'rwa', 'rw', '646', NULL), | |
| 313 | +('Saint Helena, Ascension and Tristan da Cunha', 'shn', 'sh', '654', NULL), | |
| 314 | +('Saint Kitts and Nevis', 'kna', 'kn', '659', NULL), | |
| 315 | +('Saint Lucia', 'lca', 'lc', '662', NULL), | |
| 316 | +('Saint Pierre and Miquelon', 'spm', 'pm', '666', NULL), | |
| 317 | +('Saint Vincent and the Grenadines', 'vct', 'vc', '670', NULL), | |
| 318 | +('Samoa', 'wsm', 'ws', '882', NULL), | |
| 319 | +('San Marino', 'smr', 'sm', '674', NULL), | |
| 320 | +('Sao Tome and Principe', 'stp', 'st', '678', NULL), | |
| 321 | +('Saudi Arabia', 'sau', 'sa', '682', NULL), | |
| 322 | +('Senegal', 'sen', 'sn', '686', NULL), | |
| 323 | +('Serbia', 'srb', 'rs', '688', NULL), | |
| 324 | +('Seychelles', 'syc', 'sc', '690', NULL), | |
| 325 | +('Sierra Leone', 'sle', 'sl', '694', NULL), | |
| 326 | +('Singapore', 'sgp', 'sg', '702', NULL), | |
| 327 | +('Slovakia', 'svk', 'sk', '703', NULL), | |
| 328 | +('Slovenia', 'svn', 'si', '705', NULL), | |
| 329 | +('Solomon Islands', 'slb', 'sb', '090', NULL), | |
| 330 | +('Somalia', 'som', 'so', '706', NULL), | |
| 331 | +('South Africa', 'zaf', 'za', '710', NULL), | |
| 332 | +('South Georgia and the South Sandwich Islands', 'sgs', 'gs', '239', NULL), | |
| 333 | +('Spain', 'esp', 'es', '724', NULL), | |
| 334 | +('Sri Lanka', 'lka', 'lk', '144', NULL), | |
| 335 | +('Sudan', 'sdn', 'sd', '736', NULL), | |
| 336 | +('Suriname', 'sur', 'sr', '740', NULL), | |
| 337 | +('Svalbard and Jan Mayen', 'sjm', 'sj', '744', NULL), | |
| 338 | +('Swaziland', 'swz', 'sz', '748', NULL), | |
| 339 | +('Sweden', 'swe', 'se', '752', NULL), | |
| 340 | +('Switzerland', 'che', 'ch', '756', NULL), | |
| 341 | +('Syrian Arab Republic', 'syr', 'sy', '760', NULL), | |
| 342 | +('Taiwan, Province of China', 'twn', 'tw', '158', NULL), | |
| 343 | +('Tajikistan', 'tjk', 'tj', '762', NULL), | |
| 344 | +('Tanzania, United Republic of', 'tza', 'tz', '834', NULL), | |
| 345 | +('Thailand', 'tha', 'th', '764', NULL), | |
| 346 | +('Timor-Leste', 'tls', 'tl', '626', NULL), | |
| 347 | +('Togo', 'tgo', 'tg', '768', NULL), | |
| 348 | +('Tokelau', 'tkl', 'tk', '772', NULL), | |
| 349 | +('Tonga', 'ton', 'to', '776', NULL), | |
| 350 | +('Trinidad and Tobago', 'tto', 'tt', '780', NULL), | |
| 351 | +('Tunisia', 'tun', 'tn', '788', NULL), | |
| 352 | +('Turkey', 'tur', 'tr', '792', NULL), | |
| 353 | +('Turkmenistan', 'tkm', 'tm', '795', NULL), | |
| 354 | +('Turks and Caicos Islands', 'tca', 'tc', '796', NULL), | |
| 355 | +('Tuvalu', 'tuv', 'tv', '798', NULL), | |
| 356 | +('Uganda', 'uga', 'ug', '800', NULL), | |
| 357 | +('Ukraine', 'ukr', 'ua', '804', 1), | |
| 358 | +('United Arab Emirates', 'are', 'ae', '784', NULL), | |
| 359 | +('United Kingdom', 'gbr', 'gb', '826', NULL), | |
| 360 | +('United States', 'usa', 'us', '840', NULL), | |
| 361 | +('United States Minor Outlying Islands', 'umi', 'um', '581', NULL), | |
| 362 | +('Uruguay', 'ury', 'uy', '858', NULL), | |
| 363 | +('Uzbekistan', 'uzb', 'uz', '860', NULL), | |
| 364 | +('Vanuatu', 'vut', 'vu', '548', NULL), | |
| 365 | +('Venezuela, Bolivarian Republic of', 'ven', 've', '862', NULL), | |
| 366 | +('Viet Nam', 'vnm', 'vn', '704', NULL), | |
| 367 | +('Virgin Islands, British', 'vgb', 'vg', '092', NULL), | |
| 368 | +('Virgin Islands, U.S.', 'vir', 'vi', '850', NULL), | |
| 369 | +('Wallis and Futuna', 'wlf', 'wf', '876', NULL), | |
| 370 | +('Western Sahara', 'esh', 'eh', '732', NULL), | |
| 371 | +('Yemen', 'yem', 'ye', '887', NULL), | |
| 372 | +('Zambia', 'zmb', 'zm', '894', NULL), | |
| 373 | +('Zimbabwe', 'zwe', 'zw', '716', NULL); | |
| 374 | + | |
| 375 | + | |
| 376 | +ALTER TABLE `wa_country` | |
| 377 | + ADD PRIMARY KEY (`iso3letter`), | |
| 378 | + ADD UNIQUE KEY `isonumeric` (`isonumeric`), | |
| 379 | + ADD UNIQUE KEY `iso2letter` (`iso2letter`), | |
| 380 | + ADD KEY `name` (`name`); | |
| 381 | + | |
| 382 | + | |
| 383 | +CREATE TABLE `wa_log` ( | |
| 384 | + `id` BIGINT(20) NOT NULL AUTO_INCREMENT, | |
| 385 | + `app_id` VARCHAR(32) COLLATE utf8_general_ci NOT NULL, | |
| 386 | + `contact_id` INTEGER(11) NOT NULL, | |
| 387 | + `datetime` DATETIME NOT NULL, | |
| 388 | + `action` VARCHAR(255) COLLATE utf8_general_ci NOT NULL, | |
| 389 | + `subject_contact_id` INTEGER(11) DEFAULT NULL, | |
| 390 | + `params` TEXT COLLATE utf8_general_ci, | |
| 391 | + PRIMARY KEY (`id`) USING BTREE | |
| 392 | +) ENGINE=InnoDB | |
| 393 | +AUTO_INCREMENT=4874 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 394 | +; | |
| 395 | + | |
| 396 | +CREATE TABLE `wa_login_log` ( | |
| 397 | + `id` INTEGER(11) NOT NULL AUTO_INCREMENT, | |
| 398 | + `contact_id` INTEGER(11) NOT NULL, | |
| 399 | + `datetime_in` DATETIME NOT NULL, | |
| 400 | + `datetime_out` DATETIME DEFAULT NULL, | |
| 401 | + PRIMARY KEY (`id`) USING BTREE | |
| 402 | +) ENGINE=InnoDB | |
| 403 | +AUTO_INCREMENT=463 ROW_FORMAT=FIXED CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 404 | +; | |
| 405 | + | |
| 406 | + | |
| 407 | +CREATE TABLE IF NOT EXISTS `wa_region` ( | |
| 408 | + `country_iso3` varchar(3) NOT NULL, | |
| 409 | + `code` varchar(8) NOT NULL, | |
| 410 | + `name` varchar(255) NOT NULL, | |
| 411 | + `fav_sort` int(11) DEFAULT NULL | |
| 412 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
| 413 | + | |
| 414 | + | |
| 415 | +INSERT INTO `wa_region` (`country_iso3`, `code`, `name`, `fav_sort`) VALUES | |
| 416 | +('usa', 'AK', 'Alaska', NULL), | |
| 417 | +('usa', 'AL', 'Alabama', NULL), | |
| 418 | +('usa', 'AR', 'Arkansas', NULL), | |
| 419 | +('usa', 'AZ', 'Arizona', NULL), | |
| 420 | +('usa', 'CA', 'California', NULL), | |
| 421 | +('usa', 'CO', 'Colorado', NULL), | |
| 422 | +('usa', 'CT', 'Connecticut', NULL), | |
| 423 | +('usa', 'DC', 'Washington, D.C.', NULL), | |
| 424 | +('usa', 'DE', 'Delaware', NULL), | |
| 425 | +('usa', 'FL', 'Florida', NULL), | |
| 426 | +('usa', 'GA', 'Georgia', NULL), | |
| 427 | +('usa', 'HI', 'Hawaii', NULL), | |
| 428 | +('usa', 'IA', 'Iowa', NULL), | |
| 429 | +('usa', 'ID', 'Idaho', NULL), | |
| 430 | +('usa', 'IL', 'Illinois', NULL), | |
| 431 | +('usa', 'IN', 'Indiana', NULL), | |
| 432 | +('usa', 'KS', 'Kansas', NULL), | |
| 433 | +('usa', 'KY', 'Kentucky', NULL), | |
| 434 | +('usa', 'LA', 'Louisiana', NULL), | |
| 435 | +('usa', 'MA', 'Massachusetts', NULL), | |
| 436 | +('usa', 'MD', 'Maryland', NULL), | |
| 437 | +('usa', 'ME', 'Maine', NULL), | |
| 438 | +('usa', 'MI', 'Michigan', NULL), | |
| 439 | +('usa', 'MN', 'Minnesota', NULL), | |
| 440 | +('usa', 'MO', 'Missouri', NULL), | |
| 441 | +('usa', 'MS', 'Mississippi', NULL), | |
| 442 | +('usa', 'MT', 'Montana', NULL), | |
| 443 | +('usa', 'NC', 'North Carolina', NULL), | |
| 444 | +('usa', 'ND', 'North Dakota', NULL), | |
| 445 | +('usa', 'NE', 'Nebraska', NULL), | |
| 446 | +('usa', 'NH', 'New Hampshire', NULL), | |
| 447 | +('usa', 'NJ', 'New Jersey', NULL), | |
| 448 | +('usa', 'NM', 'New Mexico', NULL), | |
| 449 | +('usa', 'NV', 'Nevada', NULL), | |
| 450 | +('usa', 'NY', 'New York', NULL), | |
| 451 | +('usa', 'OH', 'Ohio', NULL), | |
| 452 | +('usa', 'OK', 'Oklahoma', NULL), | |
| 453 | +('usa', 'OR', 'Oregon', NULL), | |
| 454 | +('usa', 'PA', 'Pennsylvania', NULL), | |
| 455 | +('usa', 'RI', 'Rhode Island', NULL), | |
| 456 | +('usa', 'SC', 'South Carolina', NULL), | |
| 457 | +('usa', 'SD', 'South Dakota', NULL), | |
| 458 | +('usa', 'TN', 'Tennessee', NULL), | |
| 459 | +('usa', 'TX', 'Texas', NULL), | |
| 460 | +('usa', 'UT', 'Utah', NULL), | |
| 461 | +('usa', 'VA', 'Virginia', NULL), | |
| 462 | +('usa', 'VT', 'Vermont', NULL), | |
| 463 | +('usa', 'WA', 'Washington', NULL), | |
| 464 | +('usa', 'WI', 'Wisconsin', NULL), | |
| 465 | +('usa', 'WV', 'West Virginia', NULL), | |
| 466 | +('usa', 'WY', 'Wyoming', NULL), | |
| 467 | +('can', 'AB', 'Alberta', NULL), | |
| 468 | +('can', 'BC', 'British Columbia', NULL), | |
| 469 | +('can', 'MB', 'Manitoba', NULL), | |
| 470 | +('can', 'NB', 'New Brunswick', NULL), | |
| 471 | +('can', 'NL', 'Newfoundland and Labrador', NULL), | |
| 472 | +('can', 'NS', 'Nova Scotia', NULL), | |
| 473 | +('can', 'ON', 'Ontario', NULL), | |
| 474 | +('can', 'PE', 'Prince Edward Island', NULL), | |
| 475 | +('can', 'QC', 'Quebec', NULL), | |
| 476 | +('can', 'SK', 'Saskatchewan', NULL), | |
| 477 | +('can', 'NT', 'Northwest Territories', NULL), | |
| 478 | +('can', 'YT', 'Yukon', NULL), | |
| 479 | +('can', 'NU', 'Nunavut', NULL), | |
| 480 | +('rus', '01', 'Адыгея республика', NULL), | |
| 481 | +('rus', '04', 'Алтай республика', NULL), | |
| 482 | +('rus', '22', 'Алтайский край', NULL), | |
| 483 | +('rus', '28', 'Амурская область', NULL), | |
| 484 | +('rus', '29', 'Архангельская область', NULL), | |
| 485 | +('rus', '30', 'Астраханская область', NULL), | |
| 486 | +('rus', '02', 'Башкортостан республика', NULL), | |
| 487 | +('rus', '31', 'Белгородская область', NULL), | |
| 488 | +('rus', '32', 'Брянская область', NULL), | |
| 489 | +('rus', '03', 'Бурятия республика', NULL), | |
| 490 | +('rus', '33', 'Владимирская область', NULL), | |
| 491 | +('rus', '34', 'Волгоградская область', NULL), | |
| 492 | +('rus', '35', 'Вологодская область', NULL), | |
| 493 | +('rus', '36', 'Воронежская область', NULL), | |
| 494 | +('rus', '05', 'Дагестан республика', NULL), | |
| 495 | +('rus', '79', 'Еврейская автономная область', NULL), | |
| 496 | +('rus', '75', 'Забайкальский край', NULL), | |
| 497 | +('rus', '37', 'Ивановская область', NULL), | |
| 498 | +('rus', '06', 'Ингушетия республика', NULL), | |
| 499 | +('rus', '38', 'Иркутская область', NULL), | |
| 500 | +('rus', '07', 'Кабардино-Балкарская республика', NULL), | |
| 501 | +('rus', '09', 'Карачаево-Черкесская республика', NULL), | |
| 502 | +('rus', '39', 'Калининградская область', NULL), | |
| 503 | +('rus', '08', 'Калмыкия республика', NULL), | |
| 504 | +('rus', '40', 'Калужская область', NULL), | |
| 505 | +('rus', '41', 'Камчатский край', NULL), | |
| 506 | +('rus', '10', 'Карелия республика', NULL), | |
| 507 | +('rus', '42', 'Кемеровская область', NULL), | |
| 508 | +('rus', '43', 'Кировская область', NULL), | |
| 509 | +('rus', '11', 'Коми республика', NULL), | |
| 510 | +('rus', '44', 'Костромская область', NULL), | |
| 511 | +('rus', '23', 'Краснодарский край', NULL), | |
| 512 | +('rus', '24', 'Красноярский край', NULL), | |
| 513 | +('rus', '45', 'Курганская область', NULL), | |
| 514 | +('rus', '46', 'Курская область', NULL), | |
| 515 | +('rus', '47', 'Ленинградская область', NULL), | |
| 516 | +('rus', '48', 'Липецкая область', NULL), | |
| 517 | +('rus', '49', 'Магаданская область', NULL), | |
| 518 | +('rus', '12', 'Марий Эл республика', NULL), | |
| 519 | +('rus', '50', 'Московская область', NULL), | |
| 520 | +('rus', '77', 'Москва', NULL), | |
| 521 | +('rus', '13', 'Мордовия республика', NULL), | |
| 522 | +('rus', '51', 'Мурманская область', NULL), | |
| 523 | +('rus', '83', 'Ненецкий автономный округ', NULL), | |
| 524 | +('rus', '52', 'Нижегородская область', NULL), | |
| 525 | +('rus', '53', 'Новгородская область', NULL), | |
| 526 | +('rus', '54', 'Новосибирская область', NULL), | |
| 527 | +('rus', '55', 'Омская область', NULL), | |
| 528 | +('rus', '56', 'Оренбургская область', NULL), | |
| 529 | +('rus', '57', 'Орловская область', NULL), | |
| 530 | +('rus', '58', 'Пензенская область', NULL), | |
| 531 | +('rus', '59', 'Пермский край', NULL), | |
| 532 | +('rus', '25', 'Приморский край', NULL), | |
| 533 | +('rus', '60', 'Псковская область', NULL), | |
| 534 | +('rus', '61', 'Ростовская область', NULL), | |
| 535 | +('rus', '62', 'Рязанская область', NULL), | |
| 536 | +('rus', '63', 'Самарская область', NULL), | |
| 537 | +('rus', '78', 'Санкт-Петербург', NULL), | |
| 538 | +('rus', '64', 'Саратовская область', NULL), | |
| 539 | +('rus', '14', 'Саха (Якутия) республика', NULL), | |
| 540 | +('rus', '65', 'Сахалинская область', NULL), | |
| 541 | +('rus', '66', 'Свердловская область', NULL), | |
| 542 | +('rus', '15', 'Северная Осетия-Алания', NULL), | |
| 543 | +('rus', '67', 'Смоленская область', NULL), | |
| 544 | +('rus', '26', 'Ставропольский край', NULL), | |
| 545 | +('rus', '68', 'Тамбовская область', NULL), | |
| 546 | +('rus', '16', 'Татарстан республика', NULL), | |
| 547 | +('rus', '69', 'Тверская область', NULL), | |
| 548 | +('rus', '70', 'Томская область', NULL), | |
| 549 | +('rus', '71', 'Тульская область', NULL), | |
| 550 | +('rus', '72', 'Тюменская область', NULL), | |
| 551 | +('rus', '17', 'Тыва республика', NULL), | |
| 552 | +('rus', '18', 'Удмуртская республика', NULL), | |
| 553 | +('rus', '73', 'Ульяновская область', NULL), | |
| 554 | +('rus', '27', 'Хабаровский край', NULL), | |
| 555 | +('rus', '19', 'Хакасия республика', NULL), | |
| 556 | +('rus', '86', 'Ханты-Мансийский-Югра автономный округ', NULL), | |
| 557 | +('rus', '74', 'Челябинская область', NULL), | |
| 558 | +('rus', '20', 'Чеченская республика', NULL), | |
| 559 | +('rus', '21', 'Чувашская республика', NULL), | |
| 560 | +('rus', '87', 'Чукотский автономный округ', NULL), | |
| 561 | +('rus', '89', 'Ямало-Ненецкий автономный округ', NULL), | |
| 562 | +('rus', '76', 'Ярославская область', NULL), | |
| 563 | +('ukr', '20', 'Тернопільська область', NULL), | |
| 564 | +('ukr', '19', 'Сумська область', NULL), | |
| 565 | +('ukr', '18', 'Рівненська область', NULL), | |
| 566 | +('ukr', '17', 'Полтавська область', NULL), | |
| 567 | +('ukr', '16', 'Одеська область', NULL), | |
| 568 | +('ukr', '15', 'Миколаївська область', NULL), | |
| 569 | +('ukr', '27', 'місто Севастополь', NULL), | |
| 570 | +('ukr', '11', 'місто Київ', 1), | |
| 571 | +('ukr', '14', 'Львівська область', NULL), | |
| 572 | +('ukr', '13', 'Луганська область', NULL), | |
| 573 | +('ukr', '10', 'Київська область', NULL), | |
| 574 | +('ukr', '12', 'Кіровоградська область', NULL), | |
| 575 | +('ukr', '08', 'Запорізька область', NULL), | |
| 576 | +('ukr', '07', 'Закарпатська область', NULL), | |
| 577 | +('ukr', '06', 'Житомирська область', NULL), | |
| 578 | +('ukr', '05', 'Донецька область', NULL), | |
| 579 | +('ukr', '04', 'Дніпропетровська область', NULL), | |
| 580 | +('ukr', '03', 'Волинська область', NULL), | |
| 581 | +('ukr', '02', 'Вінницька область', NULL), | |
| 582 | +('ukr', '01', 'Автономна Республіка Крим', NULL), | |
| 583 | +('ukr', '09', 'Івано-Франківська область', NULL), | |
| 584 | +('ukr', '21', 'Харківська область', NULL), | |
| 585 | +('ukr', '22', 'Херсонська область', NULL), | |
| 586 | +('ukr', '23', 'Хмельницька область', NULL), | |
| 587 | +('ukr', '24', 'Черкаська область', NULL), | |
| 588 | +('ukr', '26', 'Чернівецька область', NULL), | |
| 589 | +('ukr', '25', 'Чернігівська область', NULL); | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | +ALTER TABLE `wa_region` | |
| 594 | + ADD PRIMARY KEY (`country_iso3`,`code`); | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | +CREATE TABLE IF NOT EXISTS `shop_product` ( | |
| 599 | + `id` int(11) NOT NULL, | |
| 600 | + `id_1c` varchar(36) DEFAULT NULL, | |
| 601 | + `name` varchar(255) DEFAULT NULL, | |
| 602 | + `summary` text, | |
| 603 | + `meta_title` varchar(255) DEFAULT NULL, | |
| 604 | + `meta_keywords` text, | |
| 605 | + `meta_description` text, | |
| 606 | + `description` text, | |
| 607 | + `contact_id` int(11) DEFAULT NULL, | |
| 608 | + `create_datetime` datetime NOT NULL, | |
| 609 | + `edit_datetime` datetime DEFAULT NULL, | |
| 610 | + `status` tinyint(1) NOT NULL DEFAULT '1', | |
| 611 | + `type_id` int(11) DEFAULT NULL, | |
| 612 | + `image_id` int(11) DEFAULT NULL, | |
| 613 | + `image_filename` varchar(225) NOT NULL DEFAULT '', | |
| 614 | + `sku_id` int(11) DEFAULT NULL, | |
| 615 | + `ext` varchar(10) DEFAULT NULL, | |
| 616 | + `url` varchar(255) DEFAULT NULL, | |
| 617 | + `rating` decimal(3,2) NOT NULL DEFAULT '0.00', | |
| 618 | + `price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 619 | + `compare_price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 620 | + `currency` char(3) DEFAULT NULL, | |
| 621 | + `min_price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 622 | + `max_price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 623 | + `tax_id` int(11) DEFAULT NULL, | |
| 624 | + `count` int(11) DEFAULT NULL, | |
| 625 | + `cross_selling` tinyint(1) DEFAULT NULL, | |
| 626 | + `upselling` tinyint(1) DEFAULT NULL, | |
| 627 | + `rating_count` int(11) NOT NULL DEFAULT '0', | |
| 628 | + `total_sales` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 629 | + `category_id` int(11) DEFAULT NULL, | |
| 630 | + `badge` varchar(255) DEFAULT NULL, | |
| 631 | + `sku_type` tinyint(1) NOT NULL DEFAULT '0', | |
| 632 | + `base_price_selectable` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 633 | + `compare_price_selectable` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 634 | + `purchase_price_selectable` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 635 | + `sku_count` int(11) NOT NULL DEFAULT '1', | |
| 636 | + `k2type_import` varchar(75) NOT NULL, | |
| 637 | + `k2keyimport` varchar(75) NOT NULL, | |
| 638 | + `cnt_keywords` int(11) DEFAULT NULL, | |
| 639 | + `cnt_razrez_keywords` int(11) DEFAULT NULL, | |
| 640 | + `k2import_url` varchar(2048) DEFAULT NULL | |
| 641 | +) ENGINE=InnoDB AUTO_INCREMENT=2391 DEFAULT CHARSET=utf8; | |
| 642 | + | |
| 643 | + | |
| 644 | +ALTER TABLE `shop_product` | |
| 645 | + ADD PRIMARY KEY (`id`), | |
| 646 | + ADD KEY `url` (`url`), | |
| 647 | + ADD KEY `total_sales` (`total_sales`), | |
| 648 | + ADD KEY `id_1c` (`id_1c`), | |
| 649 | + ADD KEY `k2type_import` (`k2type_import`), | |
| 650 | + ADD KEY `k2keyimport` (`k2keyimport`); | |
| 651 | + | |
| 652 | + | |
| 653 | +CREATE TABLE IF NOT EXISTS `shop_product_images` ( | |
| 654 | + `id` int(11) NOT NULL, | |
| 655 | + `product_id` int(11) NOT NULL, | |
| 656 | + `upload_datetime` datetime NOT NULL, | |
| 657 | + `edit_datetime` datetime DEFAULT NULL, | |
| 658 | + `description` varchar(255) DEFAULT NULL, | |
| 659 | + `sort` int(11) NOT NULL DEFAULT '0', | |
| 660 | + `width` int(5) NOT NULL DEFAULT '0', | |
| 661 | + `height` int(5) NOT NULL DEFAULT '0', | |
| 662 | + `size` int(11) DEFAULT NULL, | |
| 663 | + `filename` varchar(225) NOT NULL DEFAULT '', | |
| 664 | + `original_filename` varchar(255) DEFAULT NULL, | |
| 665 | + `ext` varchar(10) DEFAULT NULL, | |
| 666 | + `badge_type` int(4) DEFAULT NULL, | |
| 667 | + `badge_code` text | |
| 668 | +) ENGINE=InnoDB AUTO_INCREMENT=2089 DEFAULT CHARSET=utf8; | |
| 669 | + | |
| 670 | + | |
| 671 | +ALTER TABLE `shop_product_images` | |
| 672 | + ADD PRIMARY KEY (`id`), | |
| 673 | + ADD KEY `product_id` (`product_id`); | |
| 674 | + | |
| 675 | + | |
| 676 | +CREATE TABLE IF NOT EXISTS `shop_product_skus` ( | |
| 677 | + `id` int(11) NOT NULL, | |
| 678 | + `product_id` int(11) NOT NULL, | |
| 679 | + `id_1c` varchar(36) DEFAULT NULL, | |
| 680 | + `sku` varchar(255) NOT NULL, | |
| 681 | + `sort` int(11) NOT NULL, | |
| 682 | + `name` varchar(255) NOT NULL DEFAULT '', | |
| 683 | + `image_id` int(11) DEFAULT NULL, | |
| 684 | + `price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 685 | + `primary_price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 686 | + `purchase_price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 687 | + `compare_price` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 688 | + `count` int(11) DEFAULT NULL, | |
| 689 | + `available` int(11) NOT NULL DEFAULT '1', | |
| 690 | + `dimension_id` int(11) DEFAULT NULL, | |
| 691 | + `file_name` varchar(255) NOT NULL DEFAULT '', | |
| 692 | + `file_size` int(11) NOT NULL DEFAULT '0', | |
| 693 | + `file_description` text, | |
| 694 | + `virtual` tinyint(1) NOT NULL DEFAULT '0' | |
| 695 | +) ENGINE=InnoDB AUTO_INCREMENT=2391 DEFAULT CHARSET=utf8; | |
| 696 | + | |
| 697 | + | |
| 698 | +ALTER TABLE `shop_product_skus` | |
| 699 | + ADD PRIMARY KEY (`id`), | |
| 700 | + ADD KEY `product_id` (`product_id`), | |
| 701 | + ADD KEY `id_1c` (`id_1c`); | |
| 702 | + | |
| 703 | +CREATE TABLE IF NOT EXISTS `shop_category_images` ( | |
| 704 | + `id` int(11) NOT NULL, | |
| 705 | + `category_id` int(11) NOT NULL, | |
| 706 | + `standard_out` int(11) NOT NULL DEFAULT '1', | |
| 707 | + `upload_datetime` datetime NOT NULL, | |
| 708 | + `file_name` varchar(255) NOT NULL, | |
| 709 | + `ext` varchar(10) NOT NULL, | |
| 710 | + `width` int(5) NOT NULL DEFAULT '0', | |
| 711 | + `height` int(5) NOT NULL DEFAULT '0', | |
| 712 | + `size` int(11) NOT NULL | |
| 713 | +) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8; | |
| 714 | + | |
| 715 | + | |
| 716 | +ALTER TABLE `shop_category_images` | |
| 717 | + ADD PRIMARY KEY (`id`), | |
| 718 | + ADD KEY `category_id` (`category_id`); | |
| 719 | + | |
| 720 | +CREATE TABLE IF NOT EXISTS `shop_category` ( | |
| 721 | + `id` int(11) NOT NULL, | |
| 722 | + `id_1c` varchar(36) DEFAULT NULL, | |
| 723 | + `left_key` int(11) DEFAULT NULL, | |
| 724 | + `right_key` int(11) DEFAULT NULL, | |
| 725 | + `depth` int(11) NOT NULL DEFAULT '0', | |
| 726 | + `parent_id` int(11) NOT NULL DEFAULT '0', | |
| 727 | + `name` varchar(255) DEFAULT NULL, | |
| 728 | + `meta_title` varchar(255) DEFAULT NULL, | |
| 729 | + `meta_keywords` text, | |
| 730 | + `meta_description` text, | |
| 731 | + `type` int(1) NOT NULL DEFAULT '0', | |
| 732 | + `url` varchar(255) DEFAULT NULL, | |
| 733 | + `full_url` varchar(255) DEFAULT NULL, | |
| 734 | + `count` int(11) NOT NULL DEFAULT '0', | |
| 735 | + `description` text, | |
| 736 | + `conditions` text, | |
| 737 | + `create_datetime` datetime NOT NULL, | |
| 738 | + `edit_datetime` datetime DEFAULT NULL, | |
| 739 | + `filter` text, | |
| 740 | + `sort_products` varchar(32) DEFAULT NULL, | |
| 741 | + `include_sub_categories` tinyint(1) NOT NULL DEFAULT '0', | |
| 742 | + `status` tinyint(1) NOT NULL DEFAULT '1', | |
| 743 | + `k2type_import` varchar(75) DEFAULT NULL, | |
| 744 | + `k2keyimport` varchar(75) DEFAULT NULL | |
| 745 | +) ENGINE=InnoDB AUTO_INCREMENT=163 DEFAULT CHARSET=utf8; | |
| 746 | + | |
| 747 | + | |
| 748 | +ALTER TABLE `shop_category` | |
| 749 | + ADD PRIMARY KEY (`id`), | |
| 750 | + ADD UNIQUE KEY `url` (`parent_id`,`url`), | |
| 751 | + ADD UNIQUE KEY `full_url` (`full_url`), | |
| 752 | + ADD KEY `ns_keys` (`left_key`,`right_key`), | |
| 753 | + ADD KEY `id_1c` (`id_1c`), | |
| 754 | + ADD KEY `shop_category_idx_keyimp` (`k2type_import`,`k2keyimport`); | |
| 755 | + | |
| 756 | + | |
| 757 | +CREATE TABLE IF NOT EXISTS `shop_category_products` ( | |
| 758 | + `product_id` int(11) NOT NULL, | |
| 759 | + `category_id` int(11) NOT NULL, | |
| 760 | + `sort` int(11) NOT NULL DEFAULT '0' | |
| 761 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
| 762 | + | |
| 763 | + | |
| 764 | +ALTER TABLE `shop_category_products` | |
| 765 | + ADD PRIMARY KEY (`category_id`,`product_id`); | |
| 766 | + | |
| 767 | + | |
| 768 | +CREATE TABLE IF NOT EXISTS `site_page` ( | |
| 769 | + `id` int(11) NOT NULL, | |
| 770 | + `domain_id` int(11) NOT NULL, | |
| 771 | + `route` varchar(64) NOT NULL DEFAULT '', | |
| 772 | + `name` varchar(255) NOT NULL, | |
| 773 | + `title` varchar(255) NOT NULL DEFAULT '', | |
| 774 | + `url` varchar(255) DEFAULT NULL, | |
| 775 | + `full_url` varchar(255) DEFAULT NULL, | |
| 776 | + `content` longtext NOT NULL, | |
| 777 | + `create_datetime` datetime NOT NULL, | |
| 778 | + `update_datetime` datetime NOT NULL, | |
| 779 | + `create_contact_id` int(11) NOT NULL, | |
| 780 | + `sort` int(11) NOT NULL DEFAULT '0', | |
| 781 | + `status` tinyint(1) NOT NULL DEFAULT '0', | |
| 782 | + `parent_id` int(11) DEFAULT NULL | |
| 783 | +) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; | |
| 784 | + | |
| 785 | + | |
| 786 | +ALTER TABLE `site_page` | |
| 787 | + ADD PRIMARY KEY (`id`), | |
| 788 | + ADD KEY `url` (`domain_id`,`route`,`full_url`), | |
| 789 | + ADD KEY `parent_id` (`parent_id`); | |
| 790 | + | |
| 791 | + | |
| 792 | +CREATE TABLE IF NOT EXISTS `k2anticapcha` ( | |
| 793 | + `hashid` varchar(150) COLLATE utf8_bin NOT NULL, | |
| 794 | + `decode_capcha` varchar(150) COLLATE utf8_bin NOT NULL | |
| 795 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | |
| 796 | + | |
| 797 | +ALTER TABLE `k2anticapcha` | |
| 798 | + ADD PRIMARY KEY (`hashid`); | |
| 799 | + | |
| 800 | + | |
| 801 | +CREATE TABLE IF NOT EXISTS `k2keys` ( | |
| 802 | + `k2keys` bigint(20) NOT NULL, | |
| 803 | + `keysid` varchar(75) DEFAULT NULL, | |
| 804 | + `keyrazrez` varchar(75) DEFAULT NULL, | |
| 805 | + `keywords` varchar(10240) DEFAULT NULL, | |
| 806 | + `resurs` varchar(75) DEFAULT NULL | |
| 807 | +) ENGINE=InnoDB AUTO_INCREMENT=23236 DEFAULT CHARSET=utf8 PACK_KEYS=0; | |
| 808 | + | |
| 809 | + | |
| 810 | +ALTER TABLE `k2keys` | |
| 811 | + ADD PRIMARY KEY (`k2keys`), | |
| 812 | + ADD KEY `k2keys_idx1` (`keysid`,`keyrazrez`), | |
| 813 | + ADD KEY `k2keys_idx2` (`resurs`); | |
| 814 | + | |
| 815 | + | |
| 816 | +CREATE TABLE IF NOT EXISTS `k2keywords` ( | |
| 817 | + `id` bigint(20) NOT NULL, | |
| 818 | + `keyid` varchar(75) NOT NULL, | |
| 819 | + `keyrazrez` varchar(75) NOT NULL, | |
| 820 | + `keyword` varchar(1024) DEFAULT NULL | |
| 821 | +) ENGINE=InnoDB AUTO_INCREMENT=546037 DEFAULT CHARSET=utf8 PACK_KEYS=0; | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | +ALTER TABLE `k2keywords` | |
| 826 | + ADD PRIMARY KEY (`id`), | |
| 827 | + ADD KEY `keyrazrez` (`keyrazrez`,`id`), | |
| 828 | + ADD KEY `keyrazrez_2` (`keyrazrez`), | |
| 829 | + ADD KEY `keyid` (`keyid`), | |
| 830 | + ADD KEY `k2keywords_idx1` (`keyid`,`keyrazrez`); | |
| 831 | + | |
| 832 | + | |
| 833 | +CREATE TABLE IF NOT EXISTS `k2razrez_keywords` ( | |
| 834 | + `idrazrez` varchar(75) COLLATE utf8_bin NOT NULL, | |
| 835 | + `name_razrez` varchar(250) COLLATE utf8_bin DEFAULT NULL, | |
| 836 | + `comment` varchar(250) COLLATE utf8_bin DEFAULT NULL | |
| 837 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin PACK_KEYS=0; | |
| 838 | + | |
| 839 | + | |
| 840 | +ALTER TABLE `k2razrez_keywords` | |
| 841 | + ADD PRIMARY KEY (`idrazrez`), | |
| 842 | + ADD UNIQUE KEY `idrazrez` (`idrazrez`); | |
| 843 | + | |
| 844 | + | |
| 845 | +/* Дальнейшие изменения */ | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | +/********************************************************************/ | |
| 851 | +/* Скрипт обмена электронных денег */ | |
| 852 | +/********************************************************************/ | |
| 853 | +CREATE TABLE `k2ObmenEmoney` ( | |
| 854 | + `emoneyid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 855 | + `emoneyname` VARCHAR(150) DEFAULT NULL, | |
| 856 | + PRIMARY KEY (`emoneyid`) | |
| 857 | +) ENGINE=InnoDB | |
| 858 | +CHECKSUM=0 | |
| 859 | +DELAY_KEY_WRITE=0 | |
| 860 | +PACK_KEYS=0 | |
| 861 | +AUTO_INCREMENT=0 | |
| 862 | +AVG_ROW_LENGTH=0 | |
| 863 | +MIN_ROWS=0 | |
| 864 | +MAX_ROWS=0 | |
| 865 | +ROW_FORMAT=DEFAULT | |
| 866 | +KEY_BLOCK_SIZE=0; | |
| 867 | + | |
| 868 | +ALTER TABLE `k2ObmenEmoney` RENAME AS `k2_obmen_emoney`; | |
| 869 | + | |
| 870 | +CREATE TABLE `k2_obmen_val` ( | |
| 871 | + `valid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 872 | + `valname` VARCHAR(150) DEFAULT NULL, | |
| 873 | + PRIMARY KEY (`valid`) | |
| 874 | +) ENGINE=InnoDB | |
| 875 | +CHECKSUM=0 | |
| 876 | +DELAY_KEY_WRITE=0 | |
| 877 | +PACK_KEYS=0 | |
| 878 | +AUTO_INCREMENT=0 | |
| 879 | +AVG_ROW_LENGTH=0 | |
| 880 | +MIN_ROWS=0 | |
| 881 | +MAX_ROWS=0 | |
| 882 | +ROW_FORMAT=DEFAULT | |
| 883 | +KEY_BLOCK_SIZE=0; | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | +CREATE TABLE IF NOT EXISTS `k2_obmen_emoneyval` ( | |
| 891 | + `emoneyvalid` int(11) NOT NULL, | |
| 892 | + `emoneyid` int(11) DEFAULT NULL, | |
| 893 | + `valid` int(11) DEFAULT NULL, | |
| 894 | + `emoneyvalname` varchar(250) COLLATE utf8_bin DEFAULT NULL | |
| 895 | +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_bin PACK_KEYS=0; | |
| 896 | + | |
| 897 | + | |
| 898 | +INSERT INTO `k2_obmen_emoneyval` (`emoneyvalid`, `emoneyid`, `valid`, `emoneyvalname`) VALUES | |
| 899 | +(1, 1, 1, 'Webmoney WMZ'), | |
| 900 | +(2, 1, 2, 'Webmoney WMU'), | |
| 901 | +(3, 1, 3, 'Webmoney WMR'), | |
| 902 | +(4, 1, 4, 'Webmoney WME'), | |
| 903 | +(5, 2, 3, 'Яндекс.Деньги RUR'), | |
| 904 | +(6, 3, 3, 'Qiwi RUR'), | |
| 905 | +(7, 4, 2, 'Приват24 UAH'), | |
| 906 | +(8, 5, 2, 'Visa/Master UAH'), | |
| 907 | +(12, 5, 3, 'Visa/Master RUR'); | |
| 908 | + | |
| 909 | + | |
| 910 | +CREATE TABLE IF NOT EXISTS `k2_obmen_val` ( | |
| 911 | + `valid` int(11) NOT NULL, | |
| 912 | + `valname` varchar(150) COLLATE utf8_bin DEFAULT NULL, | |
| 913 | + `sokrname` varchar(75) COLLATE utf8_bin DEFAULT NULL | |
| 914 | +) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COLLATE=utf8_bin PACK_KEYS=0; | |
| 915 | + | |
| 916 | +INSERT INTO `k2_obmen_val` (`valid`, `valname`, `sokrname`) VALUES | |
| 917 | +(1, 'Доллар', '$'), | |
| 918 | +(2, 'Гривна', 'Грн.'), | |
| 919 | +(3, 'Российские рубли', 'Руб.'), | |
| 920 | +(4, 'Евро', 'Евро'); | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | +CREATE TABLE `k2_obmen_kurs` ( | |
| 930 | + `kursid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 931 | + `emoneyid1` INTEGER(11) DEFAULT NULL, | |
| 932 | + `emoneyid2` INTEGER(11) DEFAULT NULL, | |
| 933 | + `sumval1` DECIMAL(11,2) DEFAULT NULL, | |
| 934 | + `sumval2` DECIMAL(11,2) DEFAULT NULL, | |
| 935 | + PRIMARY KEY (`kursid`) | |
| 936 | +) ENGINE=InnoDB | |
| 937 | +CHECKSUM=0 | |
| 938 | +DELAY_KEY_WRITE=0 | |
| 939 | +PACK_KEYS=0 | |
| 940 | +AUTO_INCREMENT=0 | |
| 941 | +AVG_ROW_LENGTH=0 | |
| 942 | +MIN_ROWS=0 | |
| 943 | +MAX_ROWS=0 | |
| 944 | +ROW_FORMAT=DEFAULT | |
| 945 | +KEY_BLOCK_SIZE=0; | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | +ALTER TABLE `k2_obmen_kurs` MODIFY COLUMN `sumval1` DECIMAL(11,4) DEFAULT NULL; | |
| 950 | +ALTER TABLE `k2_obmen_kurs` MODIFY COLUMN `sumval2` DECIMAL(11,4) DEFAULT NULL; | |
| 951 | + | |
| 952 | + | |
| 953 | +CREATE TABLE IF NOT EXISTS `k2_obmen_emoney` ( | |
| 954 | + `emoneyid` int(11) NOT NULL, | |
| 955 | + `emoneyname` varchar(150) COLLATE utf8_bin DEFAULT NULL, | |
| 956 | + `iconname` varchar(250) COLLATE utf8_bin DEFAULT NULL | |
| 957 | +) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_bin PACK_KEYS=0; | |
| 958 | + | |
| 959 | + | |
| 960 | +INSERT INTO `k2_obmen_emoney` (`emoneyid`, `emoneyname`, `iconname`) VALUES | |
| 961 | +(1, 'Webmoney', 'webmoney.png'), | |
| 962 | +(2, 'Яндекс.Деньги!', 'yandex.png'), | |
| 963 | +(3, 'Qiwi', 'qiwi.png'), | |
| 964 | +(4, 'Приват24', 'privat24.png'), | |
| 965 | +(5, 'Visa/Master Card', 'visamaster.png'); | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | +INSERT INTO `k2_obmen_kurs` (`kursid`, `emoneyid1`, `emoneyid2`, `sumval1`, `sumval2`) VALUES | |
| 970 | +(1, 1, 2, 1.0000, 24.2700), | |
| 971 | +(2, 1, 3, 1.0000, 67.3000), | |
| 972 | +(3, 3, 8, 2.8800, 1.0000), | |
| 973 | +(4, 3, 12, 1.0400, 1.0000), | |
| 974 | +(5, 2, 8, 1.0200, 1.0000), | |
| 975 | +(6, 2, 12, 1.0000, 2.6900), | |
| 976 | +(7, 4, 7, 1.0000, 25.7700), | |
| 977 | +(8, 4, 8, 1.0000, 25.7700), | |
| 978 | +(9, 4, 12, 1.0000, 71.2800), | |
| 979 | +(10, 5, 8, 2.8900, 1.0000), | |
| 980 | +(11, 5, 12, 1.0500, 1.0000), | |
| 981 | +(12, 6, 8, 2.9100, 1.0000), | |
| 982 | +(13, 7, 1, 24.7600, 1.0000), | |
| 983 | +(14, 7, 3, 1.0000, 2.8000), | |
| 984 | +(15, 7, 2, 1.0000, 1.0030), | |
| 985 | +(16, 7, 4, 26.7600, 1.0000), | |
| 986 | +(17, 7, 5, 1.0000, 2.8000), | |
| 987 | +(18, 7, 6, 1.0000, 2.7900), | |
| 988 | +(19, 8, 1, 25.0600, 1.0000), | |
| 989 | +(20, 8, 12, 1.0000, 2.7500), | |
| 990 | +(21, 8, 2, 1.0100, 1.0000), | |
| 991 | +(22, 8, 4, 26.9200, 1.0000), | |
| 992 | +(23, 8, 5, 1.0000, 2.7500), | |
| 993 | +(24, 8, 6, 1.0000, 2.7600), | |
| 994 | +(25, 5, 7, 2.8890, 1.0000), | |
| 995 | +(26, 1, 3, 1.0000, 68.8400), | |
| 996 | +(27, 1, 7, 1.0000, 24.2700), | |
| 997 | +(28, 3, 7, 2.8750, 1.0000), | |
| 998 | +(29, 6, 7, 2.9050, 1.0000), | |
| 999 | +(30, 1, 2, 1.0000, 24.3800), | |
| 1000 | +(31, 1, 4, 1.0831, 1.0000), | |
| 1001 | +(32, 1, 5, 1.0000, 68.5000), | |
| 1002 | +(33, 1, 6, 1.0000, 68.5000), | |
| 1003 | +(34, 2, 7, 1.0210, 1.0000), | |
| 1004 | +(35, 3, 1, 70.8600, 1.0000), | |
| 1005 | +(36, 3, 2, 2.8550, 1.0000), | |
| 1006 | +(37, 3, 4, 75.8700, 1.0000), | |
| 1007 | +(38, 3, 5, 1.0030, 1.0000), | |
| 1008 | +(39, 3, 6, 1.0080, 1.0000), | |
| 1009 | +(40, 2, 1, 25.3300, 1.0000), | |
| 1010 | +(41, 2, 3, 1.0000, 2.7300), | |
| 1011 | +(42, 2, 4, 26.9600, 1.0000), | |
| 1012 | +(43, 2, 5, 1.0000, 2.7500), | |
| 1013 | +(44, 2, 6, 1.0000, 2.7600), | |
| 1014 | +(45, 4, 1, 1.0000, 1.0480), | |
| 1015 | +(46, 4, 3, 1.0000, 72.7700), | |
| 1016 | +(47, 4, 2, 1.0000, 25.8000), | |
| 1017 | +(48, 4, 5, 1.0000, 71.8800), | |
| 1018 | +(49, 4, 6, 1.0000, 71.5000), | |
| 1019 | +(50, 5, 1, 70.4500, 1.0000), | |
| 1020 | +(51, 5, 3, 1.0130, 1.0000), | |
| 1021 | +(52, 5, 2, 2.8890, 1.0000), | |
| 1022 | +(53, 5, 4, 76.2400, 1.0000), | |
| 1023 | +(54, 5, 6, 1.0210, 1.0000), | |
| 1024 | +(55, 6, 1, 70.1800, 1.0000), | |
| 1025 | +(56, 6, 3, 1.0000, 1.0000), | |
| 1026 | +(57, 6, 2, 2.9050, 1.0000), | |
| 1027 | +(58, 6, 4, 75.5500, 1.0000), | |
| 1028 | +(59, 6, 5, 1.0000, 1.0050); | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | +/*************************************/ | |
| 1035 | +/* Proxy */ | |
| 1036 | +/*************************************/ | |
| 1037 | +CREATE TABLE `k2_proxy` ( | |
| 1038 | + `proxyid` INTEGER(11) NOT NULL AUTO_INCREMENT, | |
| 1039 | + `ipadress` VARCHAR(75) COLLATE utf8_general_ci DEFAULT NULL, | |
| 1040 | + `port` INTEGER(11) DEFAULT NULL, | |
| 1041 | + `sort` INTEGER(11) DEFAULT NULL, | |
| 1042 | + `checked` INTEGER(11) DEFAULT NULL, | |
| 1043 | + PRIMARY KEY (`proxyid`) USING BTREE | |
| 1044 | +) ENGINE=InnoDB | |
| 1045 | +AUTO_INCREMENT=29 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' | |
| 1046 | +; | |
| 1047 | + | |
| 1048 | +ALTER TABLE `k2_proxy` ADD COLUMN `checked` BOOLEAN DEFAULT NULL; | |
| 1049 | + | |
| 1050 | +ALTER TABLE `k2_proxy` MODIFY COLUMN `checked` INTEGER(11) DEFAULT NULL; | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | +/*************************************/ | |
| 1056 | +/* Меню (типы меню) */ | |
| 1057 | +/*************************************/ | |
| 1058 | +CREATE TABLE `k2menu` ( | |
| 1059 | + `k2menuid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 1060 | + `menu_name` VARCHAR(250) DEFAULT NULL, | |
| 1061 | + `ident` VARCHAR(150) DEFAULT NULL, | |
| 1062 | + `comment` VARCHAR(1024) DEFAULT NULL, | |
| 1063 | + `act` INTEGER(11) DEFAULT 1, | |
| 1064 | + PRIMARY KEY (`k2menuid`) | |
| 1065 | +) ENGINE=InnoDB | |
| 1066 | +CHECKSUM=0 | |
| 1067 | +DELAY_KEY_WRITE=0 | |
| 1068 | +PACK_KEYS=0 | |
| 1069 | +AUTO_INCREMENT=0 | |
| 1070 | +AVG_ROW_LENGTH=0 | |
| 1071 | +MIN_ROWS=0 | |
| 1072 | +MAX_ROWS=0 | |
| 1073 | +ROW_FORMAT=DEFAULT | |
| 1074 | +KEY_BLOCK_SIZE=0; | |
| 1075 | + | |
| 1076 | + | |
| 1077 | +CREATE TABLE `k2menuitems` ( | |
| 1078 | + `k2menuitemid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 1079 | + `k2menuid` INTEGER(11) DEFAULT NULL, | |
| 1080 | + `caption` VARCHAR(1024) DEFAULT NULL, | |
| 1081 | + `parentid` INTEGER(11) DEFAULT NULL, | |
| 1082 | + `act` INTEGER(11) DEFAULT 1, | |
| 1083 | + PRIMARY KEY (`k2menuitemid`) | |
| 1084 | +) ENGINE=InnoDB | |
| 1085 | +CHECKSUM=0 | |
| 1086 | +DELAY_KEY_WRITE=0 | |
| 1087 | +PACK_KEYS=0 | |
| 1088 | +AUTO_INCREMENT=0 | |
| 1089 | +AVG_ROW_LENGTH=0 | |
| 1090 | +MIN_ROWS=0 | |
| 1091 | +MAX_ROWS=0 | |
| 1092 | +ROW_FORMAT=DEFAULT | |
| 1093 | +KEY_BLOCK_SIZE=0; | |
| 1094 | + | |
| 1095 | +ALTER TABLE `k2menuitems` ADD INDEX `k2menuitems_parent` (`parentid`); | |
| 1096 | +ALTER TABLE `k2menuitems` ADD INDEX `k2menuitems_idx1` (`caption`); | |
| 1097 | +ALTER TABLE `k2menuitems` ADD COLUMN `hint` VARCHAR(1024) DEFAULT NULL; | |
| 1098 | + | |
| 1099 | +ALTER TABLE `k2menuitems` ADD COLUMN `command` VARCHAR(1024) DEFAULT NULL; | |
| 1100 | + | |
| 1101 | +CREATE TABLE `k2content` ( | |
| 1102 | + `contentid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 1103 | + `title` VARCHAR(1024) DEFAULT NULL, | |
| 1104 | + `desc` VARCHAR(1024) DEFAULT NULL, | |
| 1105 | + `keywords` VARCHAR(1024) DEFAULT NULL, | |
| 1106 | + `content` TEXT(1), | |
| 1107 | + `command` VARCHAR(150) DEFAULT NULL, | |
| 1108 | + PRIMARY KEY (`contentid`) | |
| 1109 | +) ENGINE=InnoDB | |
| 1110 | +CHECKSUM=0 | |
| 1111 | +DELAY_KEY_WRITE=0 | |
| 1112 | +PACK_KEYS=0 | |
| 1113 | +AUTO_INCREMENT=0 | |
| 1114 | +AVG_ROW_LENGTH=0 | |
| 1115 | +MIN_ROWS=0 | |
| 1116 | +MAX_ROWS=0 | |
| 1117 | +ROW_FORMAT=DEFAULT | |
| 1118 | +KEY_BLOCK_SIZE=0; | |
| 1119 | + | |
| 1120 | +ALTER TABLE `k2content` ADD COLUMN `parentcontent` VARCHAR(150) DEFAULT NULL; | |
| 1121 | + | |
| 1122 | +ALTER TABLE `k2content` CHANGE COLUMN `desc` `descript` VARCHAR(1024) COLLATE utf8_bin DEFAULT NULL; | |
| 1123 | + | |
| 1124 | +ALTER TABLE `k2_obmen_kurs` ADD COLUMN `act` INTEGER(11) DEFAULT 1; | |
| 1125 | + | |
| 1126 | +ALTER TABLE `k2menuitems` ADD COLUMN `url` VARCHAR(250) DEFAULT NULL; | |
| 1127 | + | |
| 1128 | +ALTER TABLE `k2menuitems` ADD COLUMN `ord` INTEGER(11) DEFAULT NULL; | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | +CREATE TABLE IF NOT EXISTS `shop_order` ( | |
| 1133 | + `id` int(11) NOT NULL, | |
| 1134 | + `contact_id` int(11) DEFAULT NULL, | |
| 1135 | + `create_datetime` datetime NOT NULL, | |
| 1136 | + `update_datetime` datetime DEFAULT NULL, | |
| 1137 | + `state_id` varchar(32) NOT NULL DEFAULT 'new', | |
| 1138 | + `total` decimal(15,4) NOT NULL, | |
| 1139 | + `currency` char(3) NOT NULL, | |
| 1140 | + `rate` decimal(15,8) NOT NULL DEFAULT '1.00000000', | |
| 1141 | + `tax` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 1142 | + `shipping` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 1143 | + `discount` decimal(15,4) NOT NULL DEFAULT '0.0000', | |
| 1144 | + `assigned_contact_id` int(11) DEFAULT NULL, | |
| 1145 | + `paid_year` smallint(6) DEFAULT NULL, | |
| 1146 | + `paid_quarter` smallint(6) DEFAULT NULL, | |
| 1147 | + `paid_month` smallint(6) DEFAULT NULL, | |
| 1148 | + `paid_date` date DEFAULT NULL, | |
| 1149 | + `is_first` tinyint(1) NOT NULL DEFAULT '0', | |
| 1150 | + `comment` text, | |
| 1151 | + `roistat_visit` varchar(255) DEFAULT NULL | |
| 1152 | +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; | |
| 1153 | + | |
| 1154 | +ALTER TABLE `shop_order` | |
| 1155 | + ADD PRIMARY KEY (`id`), | |
| 1156 | + ADD KEY `state_id` (`state_id`), | |
| 1157 | + ADD KEY `contact_id` (`contact_id`); | |
| 1158 | + | |
| 1159 | + | |
| 1160 | +ALTER TABLE `k2content` MODIFY COLUMN `content` TEXT COLLATE utf8_bin; | |
| 1161 | + | |
| 1162 | +ALTER TABLE `k2content` ADD COLUMN `h1` VARCHAR(1024) DEFAULT NULL; | |
| 1163 | + | |
| 1164 | +ALTER TABLE `k2content` ADD COLUMN `script` LONGTEXT; | |
| 1165 | +ALTER TABLE `k2content` MODIFY COLUMN `content` LONGTEXT COLLATE utf8_bin; | |
| 1166 | + | |
| 1167 | + | |
| 1168 | +ALTER TABLE `wa_contact` ADD COLUMN `email` VARCHAR(255) DEFAULT NULL; | |
| 1169 | +ALTER TABLE `wa_contact` ADD COLUMN `phone` VARCHAR(150) DEFAULT NULL; | |
| 1170 | +ALTER TABLE `wa_contact` ADD COLUMN `roleid` VARCHAR(150) DEFAULT NULL; | |
| 1171 | + | |
| 1172 | + | |
| 1173 | +ALTER TABLE `wa_contact` ADD COLUMN `remember_hash` VARCHAR(150) DEFAULT NULL; | |
| 1174 | +ALTER TABLE `wa_contact` ADD INDEX `wa_contact_remember_idx` (`remember_hash`); | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | +ALTER TABLE `k2_obmen_kurs` ADD UNIQUE INDEX `k2_obmen_kurs_idx1` (`emoneyid1`, `emoneyid2`); | |
| 1179 | + | |
| 1180 | + | |
| 1181 | +CREATE TABLE `k2_obmen_zakaz` ( | |
| 1182 | + `k2obmzak1` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 1183 | + `emoneyvalid1` INTEGER(11) DEFAULT NULL, | |
| 1184 | + `emoneyvalid2` INTEGER(11) DEFAULT NULL, | |
| 1185 | + `sumobmen` DECIMAL(15,4) DEFAULT NULL, | |
| 1186 | + `username` VARCHAR(150) DEFAULT NULL, | |
| 1187 | + `obmenna` DECIMAL(15,2) DEFAULT NULL, | |
| 1188 | + `datezak` DATETIME(6) DEFAULT NULL, | |
| 1189 | + `comment` VARCHAR(1024) DEFAULT NULL, | |
| 1190 | + `fam` VARCHAR(150) DEFAULT NULL, | |
| 1191 | + `im` VARCHAR(150) DEFAULT NULL, | |
| 1192 | + `otch` VARCHAR(150) DEFAULT NULL, | |
| 1193 | + `schet_from` VARCHAR(150) DEFAULT NULL, | |
| 1194 | + `schet_to` VARCHAR(150) DEFAULT NULL, | |
| 1195 | + `commision` INTEGER(11) DEFAULT NULL, | |
| 1196 | + PRIMARY KEY (`k2obmzak1`) | |
| 1197 | +) ENGINE=InnoDB | |
| 1198 | +CHECKSUM=0 | |
| 1199 | +DELAY_KEY_WRITE=0 | |
| 1200 | +PACK_KEYS=0 | |
| 1201 | +AUTO_INCREMENT=0 | |
| 1202 | +AVG_ROW_LENGTH=0 | |
| 1203 | +MIN_ROWS=0 | |
| 1204 | +MAX_ROWS=0 | |
| 1205 | +ROW_FORMAT=DEFAULT | |
| 1206 | +KEY_BLOCK_SIZE=0; | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | +ALTER TABLE `k2_obmen_zakaz` ADD COLUMN `status` INTEGER(11) DEFAULT NULL; | |
| 1211 | + | |
| 1212 | +CREATE TABLE `k2_status_zak` ( | |
| 1213 | + `k2statid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 1214 | + `statname` VARCHAR(150) DEFAULT NULL, | |
| 1215 | + PRIMARY KEY (`k2statid`) | |
| 1216 | +) ENGINE=InnoDB | |
| 1217 | +CHECKSUM=0 | |
| 1218 | +DELAY_KEY_WRITE=0 | |
| 1219 | +PACK_KEYS=0 | |
| 1220 | +AUTO_INCREMENT=0 | |
| 1221 | +AVG_ROW_LENGTH=0 | |
| 1222 | +MIN_ROWS=0 | |
| 1223 | +MAX_ROWS=0 | |
| 1224 | +ROW_FORMAT=DEFAULT | |
| 1225 | +KEY_BLOCK_SIZE=0; | |
| 1226 | + | |
| 1227 | + | |
| 1228 | +ALTER TABLE `k2_obmen_zakaz` ADD COLUMN `sumobmento` DECIMAL(15,2) DEFAULT NULL; | |
| 1229 | + | |
| 1230 | + | |
| 1231 | +ALTER TABLE `k2_obmen_zakaz` ADD COLUMN `email` VARCHAR(150) DEFAULT NULL; | |
| 1232 | + | |
| 1233 | +ALTER TABLE `k2_obmen_zakaz` ADD COLUMN `phone` VARCHAR(150) DEFAULT NULL; | |
| 1234 | + | |
| 1235 | +ALTER TABLE `k2content` ADD COLUMN `short_description` LONGTEXT; | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | +DROP TABLE IF EXISTS ajax_chat_online; | |
| 1241 | +CREATE TABLE ajax_chat_online ( | |
| 1242 | + userID INT(11) NOT NULL, | |
| 1243 | + userName VARCHAR(64) NOT NULL, | |
| 1244 | + userRole INT(1) NOT NULL, | |
| 1245 | + channel INT(11) NOT NULL, | |
| 1246 | + dateTime DATETIME NOT NULL, | |
| 1247 | + ip VARBINARY(16) NOT NULL, | |
| 1248 | + PRIMARY KEY (userID), | |
| 1249 | + INDEX (userName) | |
| 1250 | +) DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | |
| 1251 | + | |
| 1252 | +DROP TABLE IF EXISTS ajax_chat_messages; | |
| 1253 | +CREATE TABLE ajax_chat_messages ( | |
| 1254 | + id INT(11) NOT NULL AUTO_INCREMENT, | |
| 1255 | + userID INT(11) NOT NULL, | |
| 1256 | + userName VARCHAR(64) NOT NULL, | |
| 1257 | + userRole INT(1) NOT NULL, | |
| 1258 | + channel INT(11) NOT NULL, | |
| 1259 | + dateTime DATETIME NOT NULL, | |
| 1260 | + ip VARBINARY(16) NOT NULL, | |
| 1261 | + text TEXT, | |
| 1262 | + PRIMARY KEY (id), | |
| 1263 | + INDEX message_condition (id, channel, dateTime), | |
| 1264 | + INDEX (dateTime) | |
| 1265 | +) DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | |
| 1266 | + | |
| 1267 | +DROP TABLE IF EXISTS ajax_chat_bans; | |
| 1268 | +CREATE TABLE ajax_chat_bans ( | |
| 1269 | + userID INT(11) NOT NULL, | |
| 1270 | + userName VARCHAR(64) NOT NULL, | |
| 1271 | + dateTime DATETIME NOT NULL, | |
| 1272 | + ip VARBINARY(16) NOT NULL, | |
| 1273 | + PRIMARY KEY (userID), | |
| 1274 | + INDEX (userName), | |
| 1275 | + INDEX (dateTime) | |
| 1276 | +) DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | |
| 1277 | + | |
| 1278 | +DROP TABLE IF EXISTS ajax_chat_invitations; | |
| 1279 | +CREATE TABLE ajax_chat_invitations ( | |
| 1280 | + userID INT(11) NOT NULL, | |
| 1281 | + channel INT(11) NOT NULL, | |
| 1282 | + dateTime DATETIME NOT NULL, | |
| 1283 | + PRIMARY KEY (userID, channel), | |
| 1284 | + INDEX (dateTime) | |
| 1285 | +) DEFAULT CHARSET=utf8 COLLATE=utf8_bin; | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | +CREATE TABLE `k2chat_room` ( | |
| 1290 | + `roomid` INTEGER(11) NOT NULL AUTO_INCREMENT UNIQUE, | |
| 1291 | + `name` VARCHAR(150) DEFAULT NULL, | |
| 1292 | + PRIMARY KEY (`roomid`) | |
| 1293 | +) ENGINE=InnoDB | |
| 1294 | +CHECKSUM=0 | |
| 1295 | +DELAY_KEY_WRITE=0 | |
| 1296 | +PACK_KEYS=0 | |
| 1297 | +AUTO_INCREMENT=0 | |
| 1298 | +AVG_ROW_LENGTH=0 | |
| 1299 | +MIN_ROWS=0 | |
| 1300 | +MAX_ROWS=0 | |
| 1301 | +ROW_FORMAT=DEFAULT | |
| 1302 | +KEY_BLOCK_SIZE=0; | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | +ALTER TABLE `k2chat_room` ENGINE=InnoDB, CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'; | |
| 1307 | + | |
| 1308 | +ALTER TABLE `k2chat_room` MODIFY COLUMN `name` VARCHAR(150) COLLATE utf8_general_ci DEFAULT NULL; |
k2shop/k2shop_sql/export.sql
| 1 | + | |
| 2 | + | |
| 3 | +/* Вставляем группы */ | |
| 4 | +INSERT INTO `shop_category` (`id`, `id_1c`, `depth`, `parent_id`, `name`, `meta_title`, `meta_keywords`, `meta_description`, `type`, `url`, `full_url`, `count`, `description`, `conditions`, `create_datetime`, `edit_datetime`, `filter`, `sort_products`, `include_sub_categories`, `status`) | |
| 5 | +VALUES ('152', NULL, '1', '0', 'Украинские домены', '', '', '', '0', 'ukr_domen', 'ukr_domen', '0', '', NULL, '', '', '', NULL, '1', '1'); | |
| 6 | + | |
| 7 | +INSERT INTO `shop_category` (`id`, `id_1c`, `depth`, `parent_id`, `name`, `meta_title`, `meta_keywords`, `meta_description`, `type`, `url`, `full_url`, `count`, `description`, `conditions`, `create_datetime`, `edit_datetime`, `filter`, `sort_products`, `include_sub_categories`, `status`) | |
| 8 | +VALUES ('153', NULL, '1', '0', 'Международные новые домены (newTLD)', '', '', '', '0', 'international_new_domens', 'international_new_domens', '0', '', NULL, '', '', '', NULL, '1', '1'); | |
| 9 | + | |
| 10 | +INSERT INTO `shop_category` (`id`, `id_1c`, `depth`, `parent_id`, `name`, `meta_title`, `meta_keywords`, `meta_description`, `type`, `url`, `full_url`, `count`, `description`, `conditions`, `create_datetime`, `edit_datetime`, `filter`, `sort_products`, `include_sub_categories`, `status`) | |
| 11 | +VALUES ('154', NULL, '1', '0', 'Международные домены (gTLD)', '', '', '', '0', 'international_domens', 'international_domens', '0', '', NULL, '', '', '', NULL, '1', '1'); | |
| 12 | + | |
| 13 | +INSERT INTO `shop_category` (`id`, `id_1c`, `depth`, `parent_id`, `name`, `meta_title`, `meta_keywords`, `meta_description`, `type`, `url`, `full_url`, `count`, `description`, `conditions`, `create_datetime`, `edit_datetime`, `filter`, `sort_products`, `include_sub_categories`, `status`) | |
| 14 | +VALUES ('155', NULL, '1', '0', 'Домены зарубежных стран (ccTLD)', '', '', '', '0', 'country_domen', 'country_domen', '0', '', NULL, '', '', '', NULL, '1', '1'); |
k2shop/k2shop_sql/structure_update.sql
| 1 | +/* Начало ноября 2015 */ | |
| 2 | +ALTER TABLE `shop_product` ADD `k2type_import` VARCHAR(75) NOT NULL AFTER `sku_count`, ADD `k2keyimport` VARCHAR(75) NOT NULL AFTER `k2type_import`; | |
| 3 | + | |
| 4 | +ALTER TABLE `shop_product` ADD INDEX(`k2type_import`); | |
| 5 | +ALTER TABLE `shop_product` ADD INDEX(`k2keyimport`); | |
| 6 | + | |
| 7 | +ALTER TABLE `shop_category` ADD `k2type_import` VARCHAR(75), ADD `k2keyimport` VARCHAR(75); | |
| 8 | + | |
| 9 | + | |
| 10 | +/* 13.11.2015 */ | |
| 11 | +CREATE TABLE `k2anticapcha` ( | |
| 12 | + `hashid` VARCHAR(150) COLLATE utf8_bin NOT NULL, | |
| 13 | + `decode_capcha` VARCHAR(150) COLLATE utf8_bin NOT NULL, | |
| 14 | + PRIMARY KEY (`hashid`) USING BTREE | |
| 15 | +) ENGINE=InnoDB | |
| 16 | +CHARACTER SET 'utf8' COLLATE 'utf8_bin' | |
| 17 | +; | |
| 18 | + | |
| 19 | + | |
| 20 | +/* 15.11.2015 */ | |
| 21 | +/* Ключевые слова детально */ | |
| 22 | +CREATE TABLE `k2keywords` ( | |
| 23 | + `id` BIGINT(20) NOT NULL AUTO_INCREMENT, | |
| 24 | + `keyid` VARCHAR(75) NOT NULL, | |
| 25 | + `keyrazrez` VARCHAR(75) NOT NULL, | |
| 26 | + `keyword` VARCHAR(1024) DEFAULT NULL, | |
| 27 | + PRIMARY KEY (`id`) | |
| 28 | +) ENGINE=InnoDB | |
| 29 | +CHECKSUM=0 | |
| 30 | +DELAY_KEY_WRITE=0 | |
| 31 | +PACK_KEYS=0 | |
| 32 | +AUTO_INCREMENT=0 | |
| 33 | +AVG_ROW_LENGTH=0 | |
| 34 | +MIN_ROWS=0 | |
| 35 | +MAX_ROWS=0 | |
| 36 | +ROW_FORMAT=DEFAULT | |
| 37 | +KEY_BLOCK_SIZE=0; | |
| 38 | + | |
| 39 | + | |
| 40 | +ALTER TABLE `k2keywords` ADD INDEX (`keyrazrez`); | |
| 41 | + | |
| 42 | +ALTER TABLE `k2keywords` ADD INDEX `k2keywords_idx1` (`keyid`, `keyrazrez`); | |
| 43 | + | |
| 44 | + | |
| 45 | +/* Ключевые слова суммарно */ | |
| 46 | +CREATE TABLE `k2keys` ( | |
| 47 | + `k2keys` BIGINT(20) NOT NULL AUTO_INCREMENT, | |
| 48 | + `keysid` VARCHAR(75) DEFAULT NULL, | |
| 49 | + `keyrazrez` VARCHAR(75) DEFAULT NULL, | |
| 50 | + `keywords` VARCHAR(10240) DEFAULT NULL, | |
| 51 | + PRIMARY KEY (`k2keys`) | |
| 52 | +) ENGINE=InnoDB | |
| 53 | +CHECKSUM=0 | |
| 54 | +DELAY_KEY_WRITE=0 | |
| 55 | +PACK_KEYS=0 | |
| 56 | +AUTO_INCREMENT=0 | |
| 57 | +AVG_ROW_LENGTH=0 | |
| 58 | +MIN_ROWS=0 | |
| 59 | +MAX_ROWS=0 | |
| 60 | +ROW_FORMAT=DEFAULT | |
| 61 | +KEY_BLOCK_SIZE=0; | |
| 62 | + | |
| 63 | + | |
| 64 | +ALTER TABLE `k2keys` ADD INDEX `k2keys_idx1` (`keysid`, `keyrazrez`); | |
| 65 | + | |
| 66 | +ALTER TABLE `k2keys` ADD COLUMN `resurs` VARCHAR(75) DEFAULT NULL; | |
| 67 | + | |
| 68 | +ALTER TABLE `k2keys` ADD INDEX `k2keys_idx2` (`resurs`); | |
| 69 | + | |
| 70 | +ALTER TABLE `shop_product` ADD COLUMN `cnt_keywords` INTEGER(11) DEFAULT NULL; | |
| 71 | + | |
| 72 | +ALTER TABLE `shop_product` ADD COLUMN `cnt_razrez_keywords` INTEGER(11) DEFAULT NULL; | |
| 73 | + | |
| 74 | + | |
| 75 | +ALTER TABLE `k2keys` ENGINE=InnoDB, CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'; | |
| 76 | + | |
| 77 | +ALTER TABLE `k2keywords` ENGINE=InnoDB, CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'; | |
| 78 | + | |
| 79 | +ALTER TABLE `k2keywords` ENGINE=MyISAM; | |
| 80 | + | |
| 81 | +ALTER TABLE `k2keywords` MODIFY COLUMN `keyid` VARCHAR(75) COLLATE utf8_general_ci NOT NULL; | |
| 82 | + | |
| 83 | +ALTER TABLE `k2keywords` MODIFY COLUMN `keyrazrez` VARCHAR(75) COLLATE utf8_general_ci NOT NULL; | |
| 84 | + | |
| 85 | +ALTER TABLE `k2keywords` MODIFY COLUMN `keyword` VARCHAR(1024) COLLATE utf8_general_ci DEFAULT NULL; | |
| 86 | + | |
| 87 | + | |
| 88 | +ALTER TABLE `k2keywords` ENGINE=InnoDB; | |
| 89 | + | |
| 90 | +ALTER TABLE `k2keys` MODIFY COLUMN `keysid` VARCHAR(75) COLLATE utf8_general_ci DEFAULT NULL; | |
| 91 | + | |
| 92 | +ALTER TABLE `k2keys` MODIFY COLUMN `keyrazrez` VARCHAR(75) COLLATE utf8_general_ci DEFAULT NULL; | |
| 93 | + | |
| 94 | +ALTER TABLE `k2keys` MODIFY COLUMN `keywords` VARCHAR(10240) COLLATE utf8_general_ci DEFAULT NULL; | |
| 95 | + | |
| 96 | +ALTER TABLE `k2keys` MODIFY COLUMN `resurs` VARCHAR(75) COLLATE utf8_general_ci DEFAULT NULL; | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | +ALTER TABLE `shop_category_products` ADD `k2type_import` VARCHAR(75), ADD `k2keyimport` VARCHAR(75); | |
| 101 | +ALTER TABLE `shop_product_skus` ADD `k2type_import` VARCHAR(75), ADD `k2keyimport` VARCHAR(75); | |
| 102 | + | |
| 103 | +ALTER TABLE `shop_category` ADD INDEX `shop_category_idx_keyimp` (`k2type_import`, `k2keyimport`); | |
| 104 | + | |
| 105 | +ALTER TABLE `shop_category_products` ADD INDEX `shop_category_products_idx_keyimp` (`k2type_import`, `k2keyimport`); | |
| 106 | +ALTER TABLE `shop_product_skus` ADD INDEX `shop_product_skus_idx_keyimp` (`k2type_import`, `k2keyimport`); | |
| 107 | + | |
| 108 | +ALTER TABLE `shop_product` ADD COLUMN `k2import_url` VARCHAR(2048) DEFAULT NULL; | |
| 109 | + | |
| 110 | +/* 11.11.2015 */ | |
| 111 | +CREATE TABLE `k2razrez_keywords` ( | |
| 112 | + `idrazrez` VARCHAR(75) NOT NULL UNIQUE, | |
| 113 | + `name_razrez` VARCHAR(250) DEFAULT NULL, | |
| 114 | + `comment` VARCHAR(250) DEFAULT NULL, | |
| 115 | + PRIMARY KEY (`idrazrez`) | |
| 116 | +) ENGINE=InnoDB | |
| 117 | +CHECKSUM=0 | |
| 118 | +DELAY_KEY_WRITE=0 | |
| 119 | +PACK_KEYS=0 | |
| 120 | +AUTO_INCREMENT=0 | |
| 121 | +AVG_ROW_LENGTH=0 | |
| 122 | +MIN_ROWS=0 | |
| 123 | +MAX_ROWS=0 | |
| 124 | +ROW_FORMAT=DEFAULT | |
| 125 | +KEY_BLOCK_SIZE=0; | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | +/* Перевод магазина ShopScript на движек InnoDB */ | |
| 130 | + | |
| 131 | + | |
| 132 | +ALTER TABLE `blog_blog` ENGINE=InnoDB; | |
| 133 | + | |
| 134 | +ALTER TABLE `blog_category` ENGINE=InnoDB; | |
| 135 | + | |
| 136 | +ALTER TABLE `blog_comment` ENGINE=InnoDB; | |
| 137 | + | |
| 138 | +ALTER TABLE `blog_emailsubscription` ENGINE=InnoDB; | |
| 139 | + | |
| 140 | +ALTER TABLE `blog_emailsubscription_log` ENGINE=InnoDB; | |
| 141 | + | |
| 142 | +ALTER TABLE `blog_favorite` ENGINE=InnoDB; | |
| 143 | + | |
| 144 | +ALTER TABLE `blog_page` ENGINE=InnoDB; | |
| 145 | + | |
| 146 | +ALTER TABLE `blog_page_params` ENGINE=InnoDB; | |
| 147 | + | |
| 148 | +ALTER TABLE `blog_post` ENGINE=InnoDB; | |
| 149 | + | |
| 150 | +ALTER TABLE `blog_post_category` ENGINE=InnoDB; | |
| 151 | + | |
| 152 | +ALTER TABLE `blog_post_params` ENGINE=InnoDB; | |
| 153 | + | |
| 154 | +ALTER TABLE `blog_post_tag` ENGINE=InnoDB; | |
| 155 | + | |
| 156 | +ALTER TABLE `blog_tag` ENGINE=InnoDB; | |
| 157 | + | |
| 158 | +ALTER TABLE `blog_voting` ENGINE=InnoDB; | |
| 159 | + | |
| 160 | +ALTER TABLE `checklists_list` ENGINE=InnoDB; | |
| 161 | + | |
| 162 | +ALTER TABLE `checklists_list_items` ENGINE=InnoDB; | |
| 163 | + | |
| 164 | +ALTER TABLE `contacts_history` ENGINE=InnoDB; | |
| 165 | + | |
| 166 | +ALTER TABLE `contacts_rights` ENGINE=InnoDB; | |
| 167 | + | |
| 168 | +ALTER TABLE `photos_album` ENGINE=InnoDB; | |
| 169 | + | |
| 170 | +ALTER TABLE `photos_album_count` ENGINE=InnoDB; | |
| 171 | + | |
| 172 | +ALTER TABLE `photos_album_params` ENGINE=InnoDB; | |
| 173 | + | |
| 174 | +ALTER TABLE `photos_album_photos` ENGINE=InnoDB; | |
| 175 | + | |
| 176 | +ALTER TABLE `photos_album_rights` ENGINE=InnoDB; | |
| 177 | + | |
| 178 | +ALTER TABLE `photos_comment` ENGINE=InnoDB; | |
| 179 | + | |
| 180 | +ALTER TABLE `photos_page` ENGINE=InnoDB; | |
| 181 | + | |
| 182 | +ALTER TABLE `photos_page_params` ENGINE=InnoDB; | |
| 183 | + | |
| 184 | +ALTER TABLE `photos_photo` ENGINE=InnoDB; | |
| 185 | + | |
| 186 | +ALTER TABLE `photos_photo_exif` ENGINE=InnoDB; | |
| 187 | + | |
| 188 | +ALTER TABLE `photos_photo_rights` ENGINE=InnoDB; | |
| 189 | + | |
| 190 | +ALTER TABLE `photos_photo_tags` ENGINE=InnoDB; | |
| 191 | + | |
| 192 | +ALTER TABLE `photos_publicgallery_vote` ENGINE=InnoDB; | |
| 193 | + | |
| 194 | +ALTER TABLE `photos_tag` ENGINE=InnoDB; | |
| 195 | + | |
| 196 | +ALTER TABLE `shop_abtest` ENGINE=InnoDB; | |
| 197 | + | |
| 198 | +ALTER TABLE `shop_abtest_variants` ENGINE=InnoDB; | |
| 199 | + | |
| 200 | +ALTER TABLE `shop_affiliate_transaction` ENGINE=InnoDB; | |
| 201 | + | |
| 202 | +ALTER TABLE `shop_callb_request` ENGINE=InnoDB; | |
| 203 | + | |
| 204 | +ALTER TABLE `shop_cart_items` ENGINE=InnoDB; | |
| 205 | + | |
| 206 | +ALTER TABLE `shop_category` ENGINE=InnoDB; | |
| 207 | + | |
| 208 | +ALTER TABLE `shop_category_images` ENGINE=InnoDB; | |
| 209 | + | |
| 210 | +ALTER TABLE `shop_category_og` ENGINE=InnoDB; | |
| 211 | + | |
| 212 | +ALTER TABLE `shop_category_params` ENGINE=InnoDB; | |
| 213 | + | |
| 214 | +ALTER TABLE `shop_category_products` ENGINE=InnoDB; | |
| 215 | + | |
| 216 | +ALTER TABLE `shop_category_routes` ENGINE=InnoDB; | |
| 217 | + | |
| 218 | +ALTER TABLE `shop_checkout_flow` ENGINE=InnoDB; | |
| 219 | + | |
| 220 | +ALTER TABLE `shop_contact_category_discount` ENGINE=InnoDB; | |
| 221 | + | |
| 222 | +ALTER TABLE `shop_coupon` ENGINE=InnoDB; | |
| 223 | + | |
| 224 | +ALTER TABLE `shop_coupon_plugin_template` ENGINE=InnoDB; | |
| 225 | + | |
| 226 | +ALTER TABLE `shop_currency` ENGINE=InnoDB; | |
| 227 | + | |
| 228 | +ALTER TABLE `shop_customer` ENGINE=InnoDB; | |
| 229 | + | |
| 230 | +ALTER TABLE `shop_customernotes_notes` ENGINE=InnoDB; | |
| 231 | + | |
| 232 | +ALTER TABLE `shop_customers_filter` ENGINE=InnoDB; | |
| 233 | + | |
| 234 | +ALTER TABLE `shop_discount_by_sum` ENGINE=InnoDB; | |
| 235 | + | |
| 236 | +ALTER TABLE `shop_expense` ENGINE=InnoDB; | |
| 237 | + | |
| 238 | +ALTER TABLE `shop_favoriteproducts` ENGINE=InnoDB; | |
| 239 | + | |
| 240 | +ALTER TABLE `shop_feature` ENGINE=InnoDB; | |
| 241 | + | |
| 242 | +ALTER TABLE `shop_feature_values_color` ENGINE=InnoDB; | |
| 243 | + | |
| 244 | +ALTER TABLE `shop_feature_values_dimension` ENGINE=InnoDB; | |
| 245 | + | |
| 246 | +ALTER TABLE `shop_feature_values_double` ENGINE=InnoDB; | |
| 247 | + | |
| 248 | +ALTER TABLE `shop_feature_values_range` ENGINE=InnoDB; | |
| 249 | + | |
| 250 | +ALTER TABLE `shop_feature_values_text` ENGINE=InnoDB; | |
| 251 | + | |
| 252 | +ALTER TABLE `shop_feature_values_varchar` ENGINE=InnoDB; | |
| 253 | + | |
| 254 | +ALTER TABLE `shop_followup` ENGINE=InnoDB; | |
| 255 | + | |
| 256 | +ALTER TABLE `shop_importexport` ENGINE=InnoDB; | |
| 257 | + | |
| 258 | +ALTER TABLE `shop_kmcollectemails_email` ENGINE=InnoDB; | |
| 259 | + | |
| 260 | +ALTER TABLE `shop_notification` ENGINE=InnoDB; | |
| 261 | + | |
| 262 | +ALTER TABLE `shop_notification_params` ENGINE=InnoDB; | |
| 263 | + | |
| 264 | +ALTER TABLE `shop_order` ENGINE=InnoDB; | |
| 265 | + | |
| 266 | +ALTER TABLE `shop_order_items` ENGINE=InnoDB; | |
| 267 | + | |
| 268 | +ALTER TABLE `shop_order_log` ENGINE=InnoDB; | |
| 269 | + | |
| 270 | +ALTER TABLE `shop_order_log_params` ENGINE=InnoDB; | |
| 271 | + | |
| 272 | +ALTER TABLE `shop_order_params` ENGINE=InnoDB; | |
| 273 | + | |
| 274 | +ALTER TABLE `shop_page` ENGINE=InnoDB; | |
| 275 | + | |
| 276 | +ALTER TABLE `shop_page_params` ENGINE=InnoDB; | |
| 277 | + | |
| 278 | +ALTER TABLE `shop_plugin` ENGINE=InnoDB; | |
| 279 | + | |
| 280 | +ALTER TABLE `shop_plugin_settings` ENGINE=InnoDB; | |
| 281 | + | |
| 282 | +ALTER TABLE `shop_product` ENGINE=InnoDB; | |
| 283 | + | |
| 284 | +ALTER TABLE `shop_product_features` ENGINE=InnoDB; | |
| 285 | + | |
| 286 | +ALTER TABLE `shop_product_features_selectable` ENGINE=InnoDB; | |
| 287 | + | |
| 288 | +ALTER TABLE `shop_product_images` ENGINE=InnoDB; | |
| 289 | + | |
| 290 | +ALTER TABLE `shop_product_og` ENGINE=InnoDB; | |
| 291 | + | |
| 292 | +ALTER TABLE `shop_product_pages` ENGINE=InnoDB; | |
| 293 | + | |
| 294 | +ALTER TABLE `shop_product_params` ENGINE=InnoDB; | |
| 295 | + | |
| 296 | +ALTER TABLE `shop_product_related` ENGINE=InnoDB; | |
| 297 | + | |
| 298 | +ALTER TABLE `shop_product_reviews` ENGINE=InnoDB; | |
| 299 | + | |
| 300 | +ALTER TABLE `shop_product_services` ENGINE=InnoDB; | |
| 301 | + | |
| 302 | +ALTER TABLE `shop_product_skus` ENGINE=InnoDB; | |
| 303 | + | |
| 304 | +ALTER TABLE `shop_product_stocks` ENGINE=InnoDB; | |
| 305 | + | |
| 306 | +ALTER TABLE `shop_product_stocks_log` ENGINE=InnoDB; | |
| 307 | + | |
| 308 | +ALTER TABLE `shop_product_tags` ENGINE=InnoDB; | |
| 309 | + | |
| 310 | +ALTER TABLE `shop_productbrands` ENGINE=InnoDB; | |
| 311 | + | |
| 312 | +ALTER TABLE `shop_promo` ENGINE=InnoDB; | |
| 313 | + | |
| 314 | +ALTER TABLE `shop_promo_routes` ENGINE=InnoDB; | |
| 315 | + | |
| 316 | +ALTER TABLE `shop_sales` ENGINE=InnoDB; | |
| 317 | + | |
| 318 | +ALTER TABLE `shop_search_index` ENGINE=InnoDB; | |
| 319 | + | |
| 320 | +ALTER TABLE `shop_search_word` ENGINE=InnoDB; | |
| 321 | + | |
| 322 | +ALTER TABLE `shop_service` ENGINE=InnoDB; | |
| 323 | + | |
| 324 | +ALTER TABLE `shop_service_variants` ENGINE=InnoDB; | |
| 325 | + | |
| 326 | +ALTER TABLE `shop_set` ENGINE=InnoDB; | |
| 327 | + | |
| 328 | +ALTER TABLE `shop_set_products` ENGINE=InnoDB; | |
| 329 | + | |
| 330 | +ALTER TABLE `shop_stock` ENGINE=InnoDB; | |
| 331 | + | |
| 332 | +ALTER TABLE `shop_tag` ENGINE=InnoDB; | |
| 333 | + | |
| 334 | +ALTER TABLE `shop_tax` ENGINE=InnoDB; | |
| 335 | + | |
| 336 | +ALTER TABLE `shop_tax_regions` ENGINE=InnoDB; | |
| 337 | + | |
| 338 | +ALTER TABLE `shop_tax_zip_codes` ENGINE=InnoDB; | |
| 339 | + | |
| 340 | +ALTER TABLE `shop_type` ENGINE=InnoDB; | |
| 341 | + | |
| 342 | +ALTER TABLE `shop_type_features` ENGINE=InnoDB; | |
| 343 | + | |
| 344 | +ALTER TABLE `shop_type_services` ENGINE=InnoDB; | |
| 345 | + | |
| 346 | +ALTER TABLE `shop_type_upselling` ENGINE=InnoDB; | |
| 347 | + | |
| 348 | +ALTER TABLE `site_block` ENGINE=InnoDB; | |
| 349 | + | |
| 350 | +ALTER TABLE `site_domain` ENGINE=InnoDB; | |
| 351 | + | |
| 352 | +ALTER TABLE `site_page` ENGINE=InnoDB; | |
| 353 | + | |
| 354 | +ALTER TABLE `site_page_params` ENGINE=InnoDB; | |
| 355 | + | |
| 356 | +ALTER TABLE `site_search_plugin_index` ENGINE=InnoDB; | |
| 357 | + | |
| 358 | +ALTER TABLE `site_search_plugin_word` ENGINE=InnoDB; | |
| 359 | + | |
| 360 | +ALTER TABLE `stickies_sheet` ENGINE=InnoDB; | |
| 361 | + | |
| 362 | +ALTER TABLE `stickies_sticky` ENGINE=InnoDB; | |
| 363 | + | |
| 364 | +ALTER TABLE `wa_announcement` ENGINE=InnoDB; | |
| 365 | + | |
| 366 | +ALTER TABLE `wa_api_auth_codes` ENGINE=InnoDB; | |
| 367 | + | |
| 368 | +ALTER TABLE `wa_api_tokens` ENGINE=InnoDB; | |
| 369 | + | |
| 370 | +ALTER TABLE `wa_app_settings` ENGINE=InnoDB; | |
| 371 | + | |
| 372 | +ALTER TABLE `wa_contact` ENGINE=InnoDB; | |
| 373 | + | |
| 374 | +ALTER TABLE `wa_contact_categories` ENGINE=InnoDB; | |
| 375 | + | |
| 376 | +ALTER TABLE `wa_contact_category` ENGINE=InnoDB; | |
| 377 | + | |
| 378 | +ALTER TABLE `wa_contact_data` ENGINE=InnoDB; | |
| 379 | + | |
| 380 | +ALTER TABLE `wa_contact_data_text` ENGINE=InnoDB; | |
| 381 | + | |
| 382 | +ALTER TABLE `wa_contact_emails` ENGINE=InnoDB; | |
| 383 | + | |
| 384 | +ALTER TABLE `wa_contact_field_values` ENGINE=InnoDB; | |
| 385 | + | |
| 386 | +ALTER TABLE `wa_contact_rights` ENGINE=InnoDB; | |
| 387 | + | |
| 388 | +ALTER TABLE `wa_contact_settings` ENGINE=InnoDB; | |
| 389 | + | |
| 390 | +ALTER TABLE `wa_country` ENGINE=InnoDB; | |
| 391 | + | |
| 392 | +ALTER TABLE `wa_dashboard` ENGINE=InnoDB; | |
| 393 | + | |
| 394 | +ALTER TABLE `wa_group` ENGINE=InnoDB; | |
| 395 | + | |
| 396 | +ALTER TABLE `wa_log` ENGINE=InnoDB; | |
| 397 | + | |
| 398 | +ALTER TABLE `wa_login_log` ENGINE=InnoDB; | |
| 399 | + | |
| 400 | +ALTER TABLE `wa_region` ENGINE=InnoDB; | |
| 401 | + | |
| 402 | +ALTER TABLE `wa_transaction` ENGINE=InnoDB; | |
| 403 | + | |
| 404 | +ALTER TABLE `wa_transaction_data` ENGINE=InnoDB; | |
| 405 | + | |
| 406 | +ALTER TABLE `wa_user_groups` ENGINE=InnoDB; | |
| 407 | + | |
| 408 | +ALTER TABLE `wa_widget` ENGINE=InnoDB; | |
| 409 | + | |
| 410 | +ALTER TABLE `wa_widget_params` ENGINE=InnoDB; | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | +ALTER TABLE `k2anticapcha` ENGINE=InnoDB; | |
| 419 | + | |
| 420 | +ALTER TABLE `k2keys` ENGINE=InnoDB; | |
| 421 | + | |
| 422 | +ALTER TABLE `k2keywords` ENGINE=InnoDB; | |
| 423 | + | |
| 424 | +ALTER TABLE `k2razrez_keywords` ENGINE=InnoDB; |
k2shop/k2shop_sql/update.sql
| 1 | +/* Указание валюты */ | |
| 2 | +update shop_product | |
| 3 | +set currency='UAH' | |
| 4 | +where currency is null; | |
| 5 | + | |
| 6 | +/* Связывание sku_id с продуктом */ | |
| 7 | +update shop_product s | |
| 8 | +set sku_id=(select sk.id from shop_product_skus sk where sk.product_id=s.id limit 1) | |
| 9 | +where sku_id is null; | |
| 10 | + | |
| 11 | +update shop_product | |
| 12 | +set sku_id=null | |
| 13 | +where k2type_import='nutrend'; | |
| 14 | + | |
| 15 | +delete | |
| 16 | +from shop_product | |
| 17 | +where k2type_import='iname'; | |
| 18 | + | |
| 19 | +delete | |
| 20 | +from shop_product | |
| 21 | +where k2type_import='abbyy'; | |
| 22 | + | |
| 23 | + | |
| 24 | +update shop_product | |
| 25 | +set category_id=(select sc.category_id from shop_category_products sc where sc.product_id=shop_product.product_id limit 1) | |
| 26 | +where category_id is null | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | +/*Корректировка не корректных данных*/ | |
| 32 | +update shop_product | |
| 33 | +set sku_count=1 | |
| 34 | +where sku_count=0; | |
| 35 | + | |
| 36 | +update shop_product | |
| 37 | +set summary=name | |
| 38 | +where (summary is null)or(trim(summary)=''); | |
| 39 | + | |
| 40 | +update shop_product | |
| 41 | +set contact_id=1 | |
| 42 | +where contact_id is null; | |
| 43 | + | |
| 44 | +update shop_product | |
| 45 | +set status=1 | |
| 46 | +where status=0; | |
| 47 | + | |
| 48 | + | |
| 49 | +update shop_product | |
| 50 | +set currency='UAH' | |
| 51 | +where currency is null; | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | +/*****************************************/ | |
| 57 | +/* Исправление недочетов */ | |
| 58 | +/*****************************************/ | |
| 59 | + | |
| 60 | +update shop_product | |
| 61 | +set edit_datetime='NOW' | |
| 62 | +where edit_datetime is null; | |
| 63 | + | |
| 64 | +update shop_product | |
| 65 | +set create_datetime='NOW' | |
| 66 | +where create_datetime is null; | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | +/* | |
| 71 | +delete from shop_category | |
| 72 | +where k2type_import='softkey'; | |
| 73 | +*/ |