Skip to content

Issue with using useCurrent on Laravel 10 #58

Description

@mikebrandl

When using useCurrent in a migration:

$table->dateTime('intCreatedDateTime')->useCurrent();

This throws the error:

   TypeError 

  preg_match(): Argument #2 ($subject) must be of type string, Illuminate\Database\Query\Expression given

  at vendor/bosnadev/database/src/Bosnadev/Database/Schema/Grammars/PostgresGrammar.php:300

Is this a known issue? Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions