sathish
Filament 3, connect two tables admins or users for login
I'm using filament 3, I want to connect two tables admins or users for login view. I don't have no roles. just two tables that has email and password.
For example:
admins table:
[email protected]/Test@123
users table:
[email protected]/Test@123
I can able to login both tables credentials in the filament back office
Can you please suggest?
13 replies
Hello
I used filament latest version (v3.0.81) with laravel 10.
I have two tables for admin and front end login.
Frontend : users table
Admin : admins table
Filament default tabe is users table.
Can you please suggest to change admins table for filament ?
3 replies
Laravel filament relationship manager (attach two belongtomany attribute)
Here database tables struture
1. Products table
products
- name
2. Features table
features
- name
3. Types table
types
- name
- feature_id
4. Pivot table (products and features)
product_feature
- product_id
- feature_id
5. Pivot table (products and types)
product_type
- product_id
- type_id
In the product resource,
I need to attach product_features and product_types to a product when edit a product (both are belongsTomany relationship)
Example:
Attach -> features -> Attach -> type (droplist which has related feature_id of types)
5 replies