GithubHelp home page GithubHelp logo

Comments (4)

adgower avatar adgower commented on May 18, 2024

I am getting the same problem
laravel 8
php 7.4

from snooze.

adgower avatar adgower commented on May 18, 2024

After installing the package when I was going to run php artisan migrate .
It shows me
Illuminate\Database\QueryException
SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name '' (SQL: create table ( ``idint unsigned not null auto_increment primary key,target_id`varchar(255) null,`target_type`varchar(255) not null,`target`text not null,`notification_type`varchar(255) not null,`notification`text not null,`send_at`datetime not null,`sent_at`datetime null,`rescheduled_at`datetime null,`cancelled_at`datetime null,`created_at`timestamp null,`updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')`

I have published the config file.
Versions:
Laravel Framework 7.30.4
PHP 7.4.15

@sayandeep-volition try checking your permissions
This fixed it.
when I ran this: sudo chown -R $USER:www-data storage && sudo chown -R $USER:www-data bootstrap/cache && chmod -R 775 storage && chmod -R 775 bootstrap/cache

from snooze.

sayandeep-volition avatar sayandeep-volition commented on May 18, 2024

@adgower I'm using Windows env. And permissions are okay.
Still searching for a solution.

from snooze.

modavidc avatar modavidc commented on May 18, 2024

I'm using Laravel 6, in my case this worked:

php artisan vendor:publish --provider="Thomasjohnkane\Snooze\ServiceProvider" --tag="config"

and after execute migrations:

php artisan migrate

from snooze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.