Skip to content

Fix #135 : add option when created_at and updated_at are the other co…#138

Open
sh-ogawa wants to merge 1 commit into
Xethron:masterfrom
sh-ogawa:#135
Open

Fix #135 : add option when created_at and updated_at are the other co…#138
sh-ogawa wants to merge 1 commit into
Xethron:masterfrom
sh-ogawa:#135

Conversation

@sh-ogawa

Copy link
Copy Markdown

add optoin unusedTimestamps=true then created_at and updated_at filed is

$table->dateTime('created_at')->nullable();
$table->dateTime('updated_at')->nullable();
else operation as before version.

@Xethron

Xethron commented Sep 12, 2017

Copy link
Copy Markdown
Owner

Hello @sh-ogawa, Thank you for taking the time to contribute.

I'm not entirely sure what the purpose of this PR is? Could you explain your use case a little better?

@sh-ogawa

sh-ogawa commented Sep 12, 2017

Copy link
Copy Markdown
Author

Hi @Xethron , Thank you for your reply.
I wrote on the following ISSUE.
#135

So, there was a problem with MySQL time stamp type specification and it improved.
https://dev.mysql.com/doc/refman/5.7/en/datetime.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants