-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump version to 2.7.0 (#1779)
- Loading branch information
Showing
4 changed files
with
43 additions
and
7 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
31 changes: 31 additions & 0 deletions
31
database/migrations/2018_09_05_013730_update_changelog_for_conversations.php
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,31 @@ | ||
<?php | ||
|
||
use App\Models\Instance\Instance; | ||
use Illuminate\Support\Facades\DB; | ||
use Illuminate\Database\Migrations\Migration; | ||
|
||
class UpdateChangelogForConversations extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
$description = ' | ||
**New feature: conversations** | ||
You can now log conversations that you have on social media or SMS or else. While you could already do that using notes, conversations is an easier way to record them using a nice user interface. | ||
![image](/img/changelogs/2018-09-04-conversations.png)'; | ||
|
||
$id = DB::table('changelogs')->insertGetId([ | ||
'description' => $description, | ||
'created_at' => '2018-09-04', | ||
]); | ||
|
||
$instance = Instance::first(); | ||
$instance->addUnreadChangelogEntry($id); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.