laravel-firebase-sync
laravel-firebase-sync copied to clipboard
this package doesn't work
Hello.
I don't know how could you make it work, but I can't...
- I set everything up in Firebase as you wrote in the doc.
- I cloned your example (because my trys in Laravel 5.5 was'nt successful)
- I populated .env file with Firebase keys and urls...
- I started php artisan tinker and call \App\Todo::create(['task'=>'test', 'is_done'=>false);
- Then I got that message in console:
Illuminate\Database\QueryException with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homestead.todos' doesn't exist (SQL: insert into `todos` (`task`, `is_done`, `updated_at`, `created_at`) values (MUKODJ, 0, 2017-09-01 12:24:31, 2017-09-01 12:24:31))'
Which part did I wrong?
Anyway, your documentation pretty insufficent, please correct it with some details, like how can I set database env variables... or why want to connect to mysql instead of firebase service?
Thank you
Looks like its a problem with something on your side of things, not the plugin.
Base table or view not found: 1146 Table 'homestead.todos' doesn't exist
Base table or view not found
you're using homestead as your database and not found table todos, are you sure your migration database is ready and migrated to your database ?