Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: SQLite not working... #126

@shanerbaner82

Description

@shanerbaner82

What happened?

I changed the DB_CONNECTION in the .env to sqlite per the docs. I also commented out the rest of the DB_ items in the env.

I have a simple migration:

Schema::create('feeds', function (Blueprint $table) {
      $table->id();
      $table->string('url');
      $table->dateTime('last_updated')->nullable();
      $table->timestamps();
});

When attempting to store an item in the db I get the following error:
image

PS: I did create the `database.sqlite in the Laravel database dir - I don't think that is required though.

How to reproduce the bug

Create a migration, model and insert data (from the menubar/livewire). Simple create operation.

Package Version

0.1.1

PHP Version

8.1.17

Laravel Version

10.16.0

Which operating systems does with happen with?

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions