Skip to content

Commit

Permalink
Merge pull request #14 from ARCANESOFT/patch-1
Browse files Browse the repository at this point in the history
Fix the MySQL issue with not nullable timestamp
  • Loading branch information
arcanedev-maroc authored Feb 2, 2018
2 parents 5db7ed0 + 65776e7 commit 2078fdf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ checks:
tools:
external_code_coverage:
timeout: 600
runs: 2
runs: 3
php_code_sniffer:
enabled: true
config:
Expand Down
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ php:

matrix:
allow_failures:
- php: 7.2
- php: nightly

before_script:
Expand All @@ -23,5 +22,5 @@ script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- if [ "$TRAVIS_PHP_VERSION" != "7.2" ] && [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.2" ] && [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function up()
$table->longtext('content_html');
$table->boolean('is_draft')->default(false);
$table->timestamps();
$table->timestamp('published_at');
$table->timestamp('published_at')->nullable();
$table->softDeletes();

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

0 comments on commit 2078fdf

Please sign in to comment.