forked from tutula1/vingle-share-social
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2. Linking to a specific post.
- Loading branch information
Showing
9 changed files
with
142 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
namespace Avatar4eg\ShareSocial\Migration; | ||
|
||
use Illuminate\Database\ConnectionInterface; | ||
|
||
return [ | ||
'up' => function (ConnectionInterface $db) { | ||
$db->table('settings')->where('key', 'avatar4eg.share-social.list')->update([ | ||
'value' => '["facebook","vkontakte","twitter","google_plus","odnoklassniki","my_mail","linkedin"]' | ||
]); | ||
}, | ||
|
||
'down' => function (ConnectionInterface $db) { | ||
$db->table('settings')->where('key', 'avatar4eg.share-social.list')->update([ | ||
'value' => '["facebook","vkontakte","twitter","google_plus","odnoklassniki","my_mail"]' | ||
]); | ||
} | ||
]; |
Oops, something went wrong.
1f65cda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvement in redundancies. Nice work.