Skip to content

Commit

Permalink
Merge pull request #15652 from eileenmcnaughton/schema
Browse files Browse the repository at this point in the history
Add uniquenames for mailing_name, mailing_job_status
  • Loading branch information
seamuslee001 authored Oct 29, 2019
2 parents 66d736a + 08d08c0 commit 9ff9191
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CRM/Mailing/DAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:aa54484f6e9b8d5ad8e75680f95cfc67)
* (GenCodeChecksum:e25bcafe5fd213c6f8204585b2d8f6c1)
*/

/**
Expand Down Expand Up @@ -476,7 +476,7 @@ public static function &fields() {
'localizable' => 0,
'FKClassName' => 'CRM_Mailing_DAO_MailingComponent',
],
'name' => [
'mailing_name' => [
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Mailing Name'),
Expand Down
4 changes: 2 additions & 2 deletions CRM/Mailing/DAO/MailingJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Mailing/MailingJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:5660cdd4b71d1c0b93da6a4a1904deb2)
* (GenCodeChecksum:4c28192656647449d061e22dda8d8deb)
*/

/**
Expand Down Expand Up @@ -211,7 +211,7 @@ public static function &fields() {
'formatType' => 'activityDateTime',
],
],
'status' => [
'mailing_job_status' => [
'name' => 'status',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Mailing Job Status'),
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Mailing/Mailing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
</foreignKey>
<field>
<name>name</name>
<uniqueName>mailing_name</uniqueName>
<title>Mailing Name</title>
<type>varchar</type>
<length>128</length>
Expand Down
1 change: 1 addition & 0 deletions xml/schema/Mailing/MailingJob.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
</field>
<field>
<name>status</name>
<uniqueName>mailing_job_status</uniqueName>
<title>Mailing Job Status</title>
<type>varchar</type>
<length>12</length>
Expand Down

0 comments on commit 9ff9191

Please sign in to comment.