Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blueprint Builder doesnt Support TIME(3) // Milliseconds #21935

Closed
kevupton opened this issue Nov 3, 2017 · 0 comments
Closed

Blueprint Builder doesnt Support TIME(3) // Milliseconds #21935

kevupton opened this issue Nov 3, 2017 · 0 comments

Comments

@kevupton
Copy link

kevupton commented Nov 3, 2017

  • Laravel Version: 5.5.*
  • PHP Version: 7.1.9
  • Database Driver & Version: ibmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $

Description:

The Laravel Blueprint table builder does not support TIME(3). (More detailed version of time).

Steps To Reproduce:

        Schema::create('records', function (Blueprint $table) {
              $table->time('some_time', 3); // to include milliseconds
        });

I have to do:

        DB::statement(
<<<'TAG'
ALTER TABLE records
MODIFY duration TIME(3);
TAG
        );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants