filamentphp / demo

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

DB Seeder - country & currencies seems to missing? #91

Closed storeconn closed 10 months ago

storeconn commented 10 months ago

Effects Area Customers & Orders

https://crm.storeconn.de/shop/customers

could not find driver SELECT * FROM "countries" WHERE "countries"."id" = mp limit 1

App  \  Filament  \  Resources  \  Shop  \  CustomerResource   : 86 App\Filament\Resources\Shop\{closure}

pxlrbt commented 10 months ago

could not find driver

That probably means you don't have SQLite extension installed.

storeconn commented 10 months ago

mh strange i installed/activate SQLite ext. Migrate again

ENV: We using PHP 8.3-fpm and Mysql8 as database

And still missing tables Illuminate  \  Database  \  QueryException PHP 8.3.1 10.39.0 SQLSTATE[HY000]: General error: 1 no such table: currencies SELECT * FROM "currencies" WHERE "currencies"."id" = bhd limit 1

app  /  Filament  /  Widgets  /  LatestOrders .php   : 38

`Tables\Columns\TextColumn::make('currency')

                ->getStateUsing(fn ($record): ?string => Currency::find($record->currency)?->name ?? null)

                ->searchable()

                ->sortable(),`
storeconn commented 10 months ago

update i made a complete new clone and migrate new now it seems to work...strange did the exact same thing before...