filamentphp / demo

Source code for the demo.filamentphp.com website.
https://demo.filamentphp.com
MIT License
865 stars 423 forks source link

currencies migration and seeder missing #99

Closed AliasSuperman closed 8 months ago

AliasSuperman commented 8 months ago

There is no currencies table migration or seeder

pxlrbt commented 8 months ago

Currencies are part of the squirephp/currencies-en package. There doesn't need to be a currency migration/seeder in the project.

AliasSuperman commented 8 months ago

But it seems to use a Currency model because going to route: /shop/customers (i.e. clicking on a customer in the index view)

Gives error: Illuminate \ Database \ QueryException PHP 8.2.12 10.48.3 could not find driver

select * from "countries" where "countries"."id" = kr limit 1

pxlrbt commented 8 months ago

Yes. It's using the currencies model from SquirePHP which uses SQLite.

could not find driver

Seems like you are missing SQLite driver on your system for that package.