Skip to content

Commit

Permalink
💥 Change - allowed longer og descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Melbourne committed Oct 8, 2019
1 parent 090d32c commit e9f7f6e
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"require": {
"php": "^7.1.3",
"doctrine/annotations": "^1.7",
"doctrine/dbal": "^2.9",
"embed/embed": "^3.4",
"fideloper/proxy": "^4.0",
"guzzlehttp/guzzle": "^6.3",
Expand Down
233 changes: 232 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions database/migrations/2019_10_08_085949_longer_og_description.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class LongerOgDescription extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('open_graph_scans', function (Blueprint $table) {
$table->text('description')->change();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('open_graph_scans', function (Blueprint $table) {
//
});
}
}

0 comments on commit e9f7f6e

Please sign in to comment.