Skip to content

Commit 2078fdf

Browse files
Merge pull request #14 from ARCANESOFT/patch-1
Fix the MySQL issue with not nullable timestamp
2 parents 5db7ed0 + 65776e7 commit 2078fdf

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ checks:
2222
tools:
2323
external_code_coverage:
2424
timeout: 600
25-
runs: 2
25+
runs: 3
2626
php_code_sniffer:
2727
enabled: true
2828
config:

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ php:
1010

1111
matrix:
1212
allow_failures:
13-
- php: 7.2
1413
- php: nightly
1514

1615
before_script:
@@ -23,5 +22,5 @@ script:
2322
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
2423

2524
after_script:
26-
- if [ "$TRAVIS_PHP_VERSION" != "7.2" ] && [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
27-
- if [ "$TRAVIS_PHP_VERSION" != "7.2" ] && [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
25+
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
26+
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

database/migrations/2015_02_01_000003_create_blog_posts_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function up()
5050
$table->longtext('content_html');
5151
$table->boolean('is_draft')->default(false);
5252
$table->timestamps();
53-
$table->timestamp('published_at');
53+
$table->timestamp('published_at')->nullable();
5454
$table->softDeletes();
5555

5656
$table->unique(['locale', 'slug']);

0 commit comments

Comments
 (0)