src/OroCRM/Bundle/CampaignBundle/Migrations/Schema/OroCRMCampaignBundleInstaller.php 1 location
|
@@ 177-183 (lines=7) @@
|
174 |
|
* |
175 |
|
* @param Schema $schema |
176 |
|
*/ |
177 |
|
protected function createOrocrmCmpgnTransportStngsTable(Schema $schema) |
178 |
|
{ |
179 |
|
$table = $schema->createTable('orocrm_cmpgn_transport_stngs'); |
180 |
|
$table->addColumn('id', 'integer', ['autoincrement' => true]); |
181 |
|
$table->addColumn('type', 'string', ['length' => 50]); |
182 |
|
$table->setPrimaryKey(['id']); |
183 |
|
} |
184 |
|
|
185 |
|
/** |
186 |
|
* Update orocrm_cmpgn_transport_stngs table with internal transport settings. |
src/OroCRM/Bundle/CampaignBundle/Migrations/Schema/v1_3/OroCRMCampaignBundle.php 1 location
|
@@ 82-88 (lines=7) @@
|
79 |
|
* |
80 |
|
* @param Schema $schema |
81 |
|
*/ |
82 |
|
protected function createOrocrmCmpgnTransportStngsTable(Schema $schema) |
83 |
|
{ |
84 |
|
$table = $schema->createTable('orocrm_cmpgn_transport_stngs'); |
85 |
|
$table->addColumn('id', 'integer', ['autoincrement' => true]); |
86 |
|
$table->addColumn('type', 'string', ['length' => 50]); |
87 |
|
$table->setPrimaryKey(['id']); |
88 |
|
} |
89 |
|
|
90 |
|
/** |
91 |
|
* Update orocrm_cmpgn_transport_stngs table with internal transport settings. |
src/OroCRM/Bundle/CaseBundle/Migrations/Schema/v1_0/OroCRMCaseBundle.php 1 location
|
@@ 62-68 (lines=7) @@
|
59 |
|
/** |
60 |
|
* @param Schema $schema |
61 |
|
*/ |
62 |
|
protected function createCaseSourceTable(Schema $schema) |
63 |
|
{ |
64 |
|
$table = $schema->createTable('orocrm_case_source'); |
65 |
|
$table->addColumn('name', 'string', array('length' => 16)); |
66 |
|
$table->addColumn('label', 'string', array('length' => 255)); |
67 |
|
$table->setPrimaryKey(array('name')); |
68 |
|
} |
69 |
|
|
70 |
|
/** |
71 |
|
* Generate table orocrm_case_source_trans |
src/OroCRM/Bundle/ContactUsBundle/Migrations/Schema/OroCRMContactUsBundleInstaller.php 1 location
|
@@ 65-71 (lines=7) @@
|
62 |
|
* |
63 |
|
* @param Schema $schema |
64 |
|
*/ |
65 |
|
protected function createOrocrmContactusContactRsnTable(Schema $schema) |
66 |
|
{ |
67 |
|
$table = $schema->createTable('orocrm_contactus_contact_rsn'); |
68 |
|
$table->addColumn('id', 'integer', ['autoincrement' => true]); |
69 |
|
$table->addColumn('label', 'string', ['length' => 255]); |
70 |
|
$table->setPrimaryKey(['id']); |
71 |
|
} |
72 |
|
|
73 |
|
/** |
74 |
|
* Create orocrm_contactus_req_emails table |
src/OroCRM/Bundle/ContactUsBundle/Migrations/Schema/v1_0/OroCRMContactUsBundle.php 1 location
|
@@ 32-40 (lines=9) @@
|
29 |
|
* @param Schema $schema |
30 |
|
* @param string $tableName |
31 |
|
*/ |
32 |
|
public static function orocrmContactusContactReasonTable(Schema $schema, $tableName = null) |
33 |
|
{ |
34 |
|
/** Generate table orocrm_contactus_contact_reason **/ |
35 |
|
$table = $schema->createTable($tableName ?: 'orocrm_contactus_contact_reason'); |
36 |
|
$table->addColumn('id', 'smallint', ['autoincrement' => true]); |
37 |
|
$table->addColumn('label', 'string', ['length' => 255]); |
38 |
|
$table->setPrimaryKey(['id']); |
39 |
|
/** End of generate table orocrm_contactus_contact_reason **/ |
40 |
|
} |
41 |
|
|
42 |
|
/** |
43 |
|
* Generate table orocrm_contactus_request |
src/OroCRM/Bundle/CaseBundle/Migrations/Schema/OroCRMCaseBundleInstaller.php 1 location
|
@@ 148-154 (lines=7) @@
|
145 |
|
* |
146 |
|
* @param Schema $schema |
147 |
|
*/ |
148 |
|
protected function createOrocrmCaseSourceTable(Schema $schema) |
149 |
|
{ |
150 |
|
$table = $schema->createTable('orocrm_case_source'); |
151 |
|
$table->addColumn('name', 'string', ['length' => 16]); |
152 |
|
$table->addColumn('label', 'string', ['length' => 255]); |
153 |
|
$table->setPrimaryKey(['name']); |
154 |
|
} |
155 |
|
|
156 |
|
/** |
157 |
|
* Create orocrm_case_source_trans table |