Setup database CRUD. #mysql, #mongodb, #pgsql, #sqlite, #sqlsrv, #laravel, #vuejs2, #database, #backup, #restore, #dumper
## Create or update CRUD
1. Choose a existing table. In my case table name is 'tests'
2. Setup Object.
- Table Name. Not change able
- Create Model (optional). Basically it helps when you want to create a model from full qualified model name
- URL Slug (must be unique). Required
- Display Name (Plural). Required
- Model Name (Required). Enter your existing full qualified model name or add your custom full qualified model name and select 'Create Model'
- Find Column (Required). It's more imporatnd when you work with record.
- Search Column (optional). It may help you when search on specific column
- Pagination (optional). Select your desire pagination items for display record items in per page.
- Order column (Required). Which column will be ordered.
- Order display column (Optional)
- Order direction (Required).
3. Setup fields
- Field. Column display name when make record
- Permissions. Each field permission. It helps when make record.
EX. when create a record then only show all the fields that has create permission
- Type. Field input type.
- Display Name. The name of each field when make Record
- Function (only for MySql). Set extra additional function to execute before store
- Settings. Very important for some fields like dropdown, multiple dropdown, checkbox, multiple checkbox, radio button
4. Click save or update button
Enjoy
Негізгі бет Laravael database manager - CRUD
Пікірлер