Skip to content

Commit

Permalink
add ->useCurrent to published_at
Browse files Browse the repository at this point in the history
  • Loading branch information
W7 authored and W7 committed Nov 10, 2016
1 parent 6237f0a commit 51231b9
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function up()
$table->string('title');
$table->text('body');
$table->timestamps();
$table->timestamp('published_at');
$table->timestamp('published_at')->useCurrent();

$table->foreign('users_id')
->references('users_id')
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

// autoload.php @generated by Composer

require_once __DIR__ . '/composer' . '/autoload_real.php';
require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInita204dc84e12a110d387420359dd2eee9::getLoader();
5 changes: 4 additions & 1 deletion vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
return array(
'App\\Article' => $baseDir . '/app/Article.php',
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\DataTables\\ArticlesDataTable' => $baseDir . '/app/DataTables/ArticlesDataTable.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Helpers\\Utils' => $baseDir . '/app/Helpers/Utils.php',
'App\\Http\\Controllers\\AboutController' => $baseDir . '/app/Http/Controllers/AboutController.php',
'App\\Http\\Controllers\\Articles2Controller' => $baseDir . '/app/Http/Controllers/Articles2Controller.php',
'App\\Http\\Controllers\\ArticlesController' => $baseDir . '/app/Http/Controllers/ArticlesController.php',
'App\\Http\\Controllers\\ArticlesDTController' => $baseDir . '/app/Http/Controllers/ArticlesDTController.php',
'App\\Http\\Controllers\\ArticlesDTSController' => $baseDir . '/app/Http/Controllers/ArticlesDTSController.php',
'App\\Http\\Controllers\\Auth\\ForgotPasswordController' => $baseDir . '/app/Http/Controllers/Auth/ForgotPasswordController.php',
'App\\Http\\Controllers\\Auth\\LoginController' => $baseDir . '/app/Http/Controllers/Auth/LoginController.php',
'App\\Http\\Controllers\\Auth\\RegisterController' => $baseDir . '/app/Http/Controllers/Auth/RegisterController.php',
Expand Down
5 changes: 4 additions & 1 deletion vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,13 @@ class ComposerStaticInita204dc84e12a110d387420359dd2eee9
public static $classMap = array (
'App\\Article' => __DIR__ . '/../..' . '/app/Article.php',
'App\\Console\\Kernel' => __DIR__ . '/../..' . '/app/Console/Kernel.php',
'App\\DataTables\\ArticlesDataTable' => __DIR__ . '/../..' . '/app/DataTables/ArticlesDataTable.php',
'App\\Exceptions\\Handler' => __DIR__ . '/../..' . '/app/Exceptions/Handler.php',
'App\\Helpers\\Utils' => __DIR__ . '/../..' . '/app/Helpers/Utils.php',
'App\\Http\\Controllers\\AboutController' => __DIR__ . '/../..' . '/app/Http/Controllers/AboutController.php',
'App\\Http\\Controllers\\Articles2Controller' => __DIR__ . '/../..' . '/app/Http/Controllers/Articles2Controller.php',
'App\\Http\\Controllers\\ArticlesController' => __DIR__ . '/../..' . '/app/Http/Controllers/ArticlesController.php',
'App\\Http\\Controllers\\ArticlesDTController' => __DIR__ . '/../..' . '/app/Http/Controllers/ArticlesDTController.php',
'App\\Http\\Controllers\\ArticlesDTSController' => __DIR__ . '/../..' . '/app/Http/Controllers/ArticlesDTSController.php',
'App\\Http\\Controllers\\Auth\\ForgotPasswordController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/ForgotPasswordController.php',
'App\\Http\\Controllers\\Auth\\LoginController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/LoginController.php',
'App\\Http\\Controllers\\Auth\\RegisterController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/RegisterController.php',
Expand Down
196 changes: 98 additions & 98 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -3651,53 +3651,76 @@
"description": "Easy flash notifications"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
"version": "1.5.5",
"version_normalized": "1.5.5.0",
"name": "phenx/php-font-lib",
"version": "0.4",
"version_normalized": "0.4.0.0",
"source": {
"type": "git",
"url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
"reference": "9753fc340726e327e4d48b7c0604f85475ae0bc3"
"url": "https://github.com/PhenX/php-font-lib.git",
"reference": "b8af0cacdc3cbf1e41a586fcb78f506f4121a088"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/9753fc340726e327e4d48b7c0604f85475ae0bc3",
"reference": "9753fc340726e327e4d48b7c0604f85475ae0bc3",
"url": "https://api.github.com/repos/PhenX/php-font-lib/zipball/b8af0cacdc3cbf1e41a586fcb78f506f4121a088",
"reference": "b8af0cacdc3cbf1e41a586fcb78f506f4121a088",
"shasum": ""
},
"require": {
"php": ">=5.3.0",
"symfony/css-selector": "~2.1|~3.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"time": "2015-12-08 16:14:14",
"time": "2015-05-06 20:02:39",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.5.x-dev"
"installation-source": "dist",
"autoload": {
"psr-0": {
"FontLib\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0"
],
"authors": [
{
"name": "Fabien Ménager",
"email": "[email protected]"
}
],
"description": "A library to read, parse, export and make subsets of different types of font files.",
"homepage": "https://github.com/PhenX/php-font-lib"
},
{
"name": "phenx/php-svg-lib",
"version": "0.1",
"version_normalized": "0.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/PhenX/php-svg-lib.git",
"reference": "b419766515b3426c6da74b0e29e93d71c4f17099"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/b419766515b3426c6da74b0e29e93d71c4f17099",
"reference": "b419766515b3426c6da74b0e29e93d71c4f17099",
"shasum": ""
},
"time": "2015-05-06 18:49:49",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"TijsVerkoyen\\CssToInlineStyles\\": "src"
"psr-0": {
"Svg\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD"
"LGPL-3.0"
],
"authors": [
{
"name": "Tijs Verkoyen",
"email": "[email protected]",
"role": "Developer"
"name": "Fabien Ménager",
"email": "[email protected]"
}
],
"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles"
"description": "A library to read, parse and export to PDF SVG files.",
"homepage": "https://github.com/PhenX/php-svg-lib"
},
{
"name": "phpoffice/phpexcel",
Expand Down Expand Up @@ -3758,6 +3781,55 @@
"xlsx"
]
},
{
"name": "tijsverkoyen/css-to-inline-styles",
"version": "1.5.5",
"version_normalized": "1.5.5.0",
"source": {
"type": "git",
"url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
"reference": "9753fc340726e327e4d48b7c0604f85475ae0bc3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/9753fc340726e327e4d48b7c0604f85475ae0bc3",
"reference": "9753fc340726e327e4d48b7c0604f85475ae0bc3",
"shasum": ""
},
"require": {
"php": ">=5.3.0",
"symfony/css-selector": "~2.1|~3.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"time": "2015-12-08 16:14:14",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.5.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"TijsVerkoyen\\CssToInlineStyles\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD"
],
"authors": [
{
"name": "Tijs Verkoyen",
"email": "[email protected]",
"role": "Developer"
}
],
"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles"
},
{
"name": "maatwebsite/excel",
"version": "2.1.6",
Expand Down Expand Up @@ -3892,78 +3964,6 @@
"rest"
]
},
{
"name": "phenx/php-svg-lib",
"version": "0.1",
"version_normalized": "0.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/PhenX/php-svg-lib.git",
"reference": "b419766515b3426c6da74b0e29e93d71c4f17099"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/b419766515b3426c6da74b0e29e93d71c4f17099",
"reference": "b419766515b3426c6da74b0e29e93d71c4f17099",
"shasum": ""
},
"time": "2015-05-06 18:49:49",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"Svg\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0"
],
"authors": [
{
"name": "Fabien Ménager",
"email": "[email protected]"
}
],
"description": "A library to read, parse and export to PDF SVG files.",
"homepage": "https://github.com/PhenX/php-svg-lib"
},
{
"name": "phenx/php-font-lib",
"version": "0.4",
"version_normalized": "0.4.0.0",
"source": {
"type": "git",
"url": "https://github.com/PhenX/php-font-lib.git",
"reference": "b8af0cacdc3cbf1e41a586fcb78f506f4121a088"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PhenX/php-font-lib/zipball/b8af0cacdc3cbf1e41a586fcb78f506f4121a088",
"reference": "b8af0cacdc3cbf1e41a586fcb78f506f4121a088",
"shasum": ""
},
"time": "2015-05-06 20:02:39",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"FontLib\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0"
],
"authors": [
{
"name": "Fabien Ménager",
"email": "[email protected]"
}
],
"description": "A library to read, parse, export and make subsets of different types of font files.",
"homepage": "https://github.com/PhenX/php-font-lib"
},
{
"name": "dompdf/dompdf",
"version": "v0.7.0",
Expand Down

0 comments on commit 51231b9

Please sign in to comment.