Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Sep 22, 2024
1 parent 3688fb4 commit b584236
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/release-notes-and-upgrade/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ use PowerComponents\LivewirePowerGrid\PowerGrid;// [!code --]
use PowerComponents\LivewirePowerGrid\Facades\PowerGrid;// [!code ++]
```

## `$tableName` must be unique/required

Sets the `$tableName` as unique and required for all existing tables.

::: info
New tables will have a pre-configured name via the `powergrid:create` command.
:::

```php
public string $tableName = 'default';// [!code --]
public string $tableName = 'users-table'; // [!code ++]
// Ex: admin-users-table, dishes, category-table
```

## JS Imports

```js
Expand Down

0 comments on commit b584236

Please sign in to comment.