Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1cb1c537
authored
Jul 12, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19500 Синхронизация модификаторов.
1 parent
335b71d6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletions
app/Service/Requests/Direct/GetRetargetinglists.php
database/migrations/2021_07_12_130456_add_retargetinglists_external_id_column.php
app/Service/Requests/Direct/GetRetargetinglists.php
View file @
1cb1c53
...
...
@@ -44,7 +44,7 @@ class GetRetargetinglists extends DirectRequest
function
handle
(
$response
)
{
try
{
if
(
isset
(
$response
[
'result'
][
'
VCard
s'
]))
{
if
(
isset
(
$response
[
'result'
][
'
RetargetingList
s'
]))
{
foreach
(
$response
[
'result'
][
'RetargetingLists'
]
as
$retargeting_list
)
{
$external_id
=
(
string
)
$retargeting_list
[
'Id'
];
...
...
database/migrations/2021_07_12_130456_add_retargetinglists_external_id_column.php
0 → 100644
View file @
1cb1c53
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddRetargetinglistsExternalIdColumn
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'retargetinglists'
,
function
(
Blueprint
$table
)
{
$table
->
bigInteger
(
'external_id'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
//
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment