WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 6824415

Browse files
authored
Merge pull request #6 from chrisrhymes/fix/broken-link-field-length
Increase broken_link field length
2 parents 0873636 + d39c538 commit 6824415

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

.github/workflows/pint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ on:
33
workflow_dispatch:
44
push:
55
branches-ignore:
6-
- "dependabot/npm_and_yarn/*"
6+
- 'dependabot/npm_and_yarn/*'
77
jobs:
88
phplint:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 2
14-
- name: "laravel-pint"
15-
uses: aglipanci/laravel-pint-action@0.1.0
14+
- name: 'laravel-pint'
15+
uses: aglipanci/laravel-pint-action@2.0.0
1616
with:
1717
preset: laravel
1818

.prettierrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"trailingCommaPHP": true,
6+
"useTabs": false,
7+
"overrides": [
8+
{
9+
"files": "*.php",
10+
"options": {
11+
"tabWidth": 4
12+
}
13+
}
14+
]
15+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::table('broken_links', function (Blueprint $table) {
17+
$table->text('broken_link')->nullable()->change();
18+
});
19+
}
20+
21+
/**
22+
* Reverse the migrations.
23+
*
24+
* @return void
25+
*/
26+
public function down()
27+
{
28+
Schema::table('broken_links', function (Blueprint $table) {
29+
$table->string('broken_link')->nullable()->change();
30+
});
31+
}
32+
};

0 commit comments

Comments
 (0)